Make It Flow  v1.1
FollowAngleToTargetBehavior Class Reference

Inherits MeadowGames.MakeItFlow.Behavior.

Public Member Functions

override void Execute ()
 
override void StartBehavior ()
 
override void InterruptBehavior ()
 
override void StopOnBehaviorEnd ()
 
- Public Member Functions inherited from MeadowGames.MakeItFlow.Behavior
virtual void InitializeBehavior ()
 
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)
 
void ResetLocalEvents ()
 

Public Attributes

float durationS = 0.3f
 
float angleOffset = 0
 
Vector2 angleLimits = new Vector2(-180, 180)
 
- 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()
 

Properties

Transform Target [get, set]
 
- Properties inherited from MeadowGames.MakeItFlow.Behavior
List< MFObjectMFObjectsToAct [get, set]
 
MFObject MFObject [get, set]
 
List< BehaviorComplementaryBehaviors [get]
 

Additional Inherited Members

- Protected Attributes inherited from MeadowGames.MakeItFlow.Behavior
InputManager inputManager