Make It Flow  v1.1
FollowPointerSpringBehavior Class Reference

Inherits MeadowGames.MakeItFlow.Behavior.

Public Member Functions

override void InitializeBehavior ()
 
override void StartBehavior ()
 
override void InterruptBehavior ()
 
override void StopOnBehaviorEnd ()
 
- Public Member Functions inherited from MeadowGames.MakeItFlow.Behavior
void AddTrigger (TriggerData triggerData)
 
void RemoveTrigger (TriggerData triggerData)
 
void AddParallelMFObject (MFObject mfObject)
 
void RemoveParallelMFObject (MFObject mfObject)
 
void AddSequenceBehavior (SequenceBehaviorData sequenceBehaviorData)
 
void RemoveSequenceBehavior (SequenceBehaviorData sequenceBehaviorData)
 
void AddComplementaryBehavior (Behavior behavior)
 
void RemoveComplementaryBehavior (Behavior behavior)
 
virtual void Execute ()
 
void ResetLocalEvents ()
 

Public Attributes

float frequency = 0.2f
 
float damping = 10f
 
bool moveToFront = true
 
- Public Attributes inherited from MeadowGames.MakeItFlow.Behavior
float DeltaTime => Time.deltaTime / _mfExecutionManager.behaviorsExecutionTimes
 
List< TriggerDataTriggerDataList => _triggerDataList
 
List< SequenceBehaviorDataSequenceBehavioDataList => _sequenceBehavioDataList
 
CanvasManager mfCanvasManager
 
BehaviorLocalEvents behaviorEvents = new BehaviorLocalEvents()
 

Additional Inherited Members

- Protected Attributes inherited from MeadowGames.MakeItFlow.Behavior
InputManager inputManager
 
- Properties inherited from MeadowGames.MakeItFlow.Behavior
List< MFObjectMFObjectsToAct [get, set]
 
MFObject MFObject [get, set]
 
List< BehaviorComplementaryBehaviors [get]