Insanely huge initial commit

This commit is contained in:
2026-02-21 17:04:05 -08:00
parent 9cdd36191a
commit 613d75914a
22525 changed files with 4035207 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
#if PLAYMAKER
using Com.LuisPedroFonseca.ProCamera2D;
using HutongGames.PlayMaker;
using TooltipAttribute = HutongGames.PlayMaker.TooltipAttribute;
[Tooltip("Remove a target from the camera")]
public class PC2DRemoveCameraTarget : FsmStateActionProCamera2DBase
{
[RequiredField]
[Tooltip("The Transform of the target")]
public FsmGameObject target;
[Tooltip("The time it takes for this target to reach a zero influence. Use for a more progressive transition.")]
public FsmFloat duration = 0;
public override void OnEnter()
{
if (ProCamera2D.Instance != null && target.Value)
ProCamera2D.Instance.RemoveCameraTarget(target.Value.transform, duration.Value);
Finish();
}
}
#endif