ORK Framework  2.25.2
API Documentation
ORKFramework.Events.Steps.ChangePositionStep Class Reference
Inheritance diagram for ORKFramework.Events.Steps.ChangePositionStep:
ORKFramework.Events.Steps.BaseEventStep ORKFramework.Events.Steps.CoreEventStep ORKFramework.BaseNode ORKFramework.BaseIndexData ORKFramework.BaseData ORKFramework.IBaseData

Public Member Functions

override void SetData (DataObject data)
 Sets the variables of the class using a ORKFramework.DataObject. More...
 
override void Execute (BaseEvent baseEvent)
 
override void Continue (BaseEvent baseEvent)
 
override string GetNodeDetails ()
 
- Public Member Functions inherited from ORKFramework.Events.Steps.BaseEventStep
override string GetNodeName ()
 
override string GetNextName (int index)
 
override int GetNextCount ()
 
override int GetNext (int index)
 
override void SetNext (int index, int next)
 
virtual void EventStopped (BaseEvent baseEvent)
 
- Public Member Functions inherited from ORKFramework.BaseNode
virtual bool IsRemovable ()
 
int GetFirstFree ()
 
- Public Member Functions inherited from ORKFramework.BaseData
virtual DataObject GetData ()
 Gets a ORKFramework.DataObject representing the class. More...
 
virtual void EditorAutoSetup (string fieldName)
 Called for all fields using the autoSetup option of the ORKFramework.ORKEditorLayoutAttribute. More...
 

Public Attributes

EventObjectSetting moveObject = new EventObjectSetting()
 
float timeBetween = 0
 
bool waitBetween = true
 
bool toObject = false
 
EventObjectSetting targetObject
 
bool useCenter = false
 
bool localSpace = false
 
Vector3 offset = Vector3.zero
 
EventVector3 position
 
bool localPosition = false
 
bool move = false
 
bool wait = false
 
bool ignoreHeightDistance = true
 
bool useController = true
 
bool applyGravity = true
 
bool face = true
 
float distance = 0
 
bool ignoreRadius = false
 
bool useSpeed = false
 
bool secureMove = false
 
float secureTime = 0.5f
 
bool stopAtTarget = false
 
MoveSpeedType speedType = MoveSpeedType.Run
 
float speed = 5
 
bool followPosition = true
 
EventFloat time
 
EaseType interpolation = EaseType.Linear
 
- Public Attributes inherited from ORKFramework.Events.Steps.BaseEventStep
bool active = true
 
int next = -1
 
- Public Attributes inherited from ORKFramework.BaseNode
Vector2 nodePosition = new Vector2(38, 38)
 
bool overrideNodeName = false
 
string nodeName = ""
 

Additional Inherited Members

- Protected Attributes inherited from ORKFramework.BaseIndexData
int realID = 0
 
- Properties inherited from ORKFramework.Events.Steps.BaseEventStep
override bool IsEnabled [get]
 
virtual bool ExecuteOnStop [get]
 
- Properties inherited from ORKFramework.BaseNode
virtual bool IsEnabled [get]
 
- Properties inherited from ORKFramework.BaseIndexData
virtual int RealID [get, set]
 

Member Function Documentation

◆ SetData()

override void ORKFramework.Events.Steps.ChangePositionStep.SetData ( DataObject  data)
virtual

Sets the variables of the class using a ORKFramework.DataObject.

Parameters
dataORKFramework.DataObject containing the data.

Reimplemented from ORKFramework.BaseData.