ORK Framework  2.24.0
API Documentation
ORKFramework.MountSettings Class Reference
Inheritance diagram for ORKFramework.MountSettings:
ORKFramework.BaseData ORKFramework.IBaseData

Public Member Functions

void MountTo (Transform parent, Transform child)
 
void Place (Transform parent, Transform child)
 
void GetMountTo (Transform parent, ref Vector3 pos, ref Vector3 rot)
 
void GetPlace (Transform parent, ref Vector3 pos, ref Vector3 rot)
 
- Public Member Functions inherited from ORKFramework.BaseData
virtual DataObject GetData ()
 Gets a ORKFramework.DataObject representing the class. More...
 
virtual void SetData (DataObject data)
 Sets the variables of the class using a ORKFramework.DataObject. More...
 
virtual void EditorAutoSetup (string fieldName)
 Called for all fields using the autoSetup option of the ORKFramework.ORKEditorLayoutAttribute. More...
 

Public Attributes

string childName = ""
 
bool localSpace = true
 
Vector3 offset = Vector3.zero
 
bool useRotation = true
 
Vector3 rotationOffset = Vector3.zero
 
bool setScale = false
 
Vector3 scale = Vector3.one