ORK Framework  2.31.0
API Documentation
ORKFramework.AxisControl Class Reference
Inheritance diagram for ORKFramework.AxisControl:
ORKFramework.BaseData ORKFramework.IBaseData

Public Member Functions

override void SetData (DataObject data)
 Sets the variables of the class using a ORKFramework.DataObject. More...
bool HasInput ()
float GetAxis (bool negatePlusMinus)
void PlayClip ()
- 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

bool useAxis = false
int axisKey = 0
int plusKey = 0
int minusKey = 0
AssetSource< AudioClip > audioClip
int channel = 0
float volume = 1

Member Function Documentation

◆ SetData()

override void ORKFramework.AxisControl.SetData ( DataObject  data)

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

dataORKFramework.DataObject containing the data.

Reimplemented from ORKFramework.BaseData.