Make It Flow  v1.1
SetParentBehavior Class Reference

Inherits MeadowGames.MakeItFlow.Behavior.

Public Types

enum  SetParentType { Fixed, MFObjectUnderPointer }
 
enum  SiblingLocation { SetSiblingIndex, SetAsFirstSibling, SetAsLastSibling }
 

Public Member Functions

override void StartBehavior ()
 
- 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)
 
virtual void Execute ()
 
virtual void StopOnBehaviorEnd ()
 
virtual void InterruptBehavior ()
 
void ResetLocalEvents ()
 

Public Attributes

SetParentType setParentType
 
SiblingLocation setSiblingType
 
int index = 0
 
- 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

string HoveredTag [get, set]
 
Transform Parent [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