ORK Framework  2.26.1
API Documentation
ORKFramework.Behaviours.MusicPlayer Class Reference
Inheritance diagram for ORKFramework.Behaviours.MusicPlayer:
ORKFramework.Behaviours.BaseInteraction ORKFramework.Behaviours.BaseConditionComponent ORKFramework.Behaviours.SceneID

Public Member Functions

override void StartEvent (GameObject startingObject)
 
- Public Member Functions inherited from ORKFramework.Behaviours.BaseInteraction
IEnumerator StartEvent (GameObject startingObject, float delay)
 
virtual bool CanInteract (EventStartType type, GameObject startingObject)
 
bool CheckOrientation (GameObject gameObject)
 
virtual bool Interact ()
 
virtual void TouchInteract ()
 
virtual bool DropInteract (DragInfo drag)
 
bool CheckDrop (DragInfo drag)
 
bool CheckStartObject (GameObject gameObject)
 
virtual void KeyPress ()
 
virtual void UIStart ()
 
virtual void UIStart (GameObject startingObject)
 
bool ForwardInteract ()
 
void ForwardTouchInteract ()
 
bool ForwardDropInteract (DragInfo drag)
 
void ForwardOnTriggerEnter (Collider other)
 
void ForwardOnTriggerExit (Collider other)
 
void ForwardOnTriggerStay (Collider other)
 
void ForwardOnTriggerEnter2D (Collider2D other)
 
void ForwardOnTriggerExit2D (Collider2D other)
 
void ForwardOnTriggerStay2D (Collider2D other)
 
void ForwardOnCollisionEnter (Collision collision)
 
void ForwardOnCollisionExit (Collision collision)
 
void ForwardOnCollisionStay (Collision collision)
 
void ForwardOnCollisionEnter2D (Collision2D collision)
 
void ForwardOnCollisionExit2D (Collision2D collision)
 
void ForwardOnCollisionStay2D (Collision2D collision)
 
- Public Member Functions inherited from ORKFramework.Behaviours.BaseConditionComponent
bool CheckConditions ()
 
bool CheckVariables ()
 
void SetVariables ()
 

Public Attributes

int channel = 0
 
int musicID = 0
 
float targetVolume = 1
 
bool fromCurrentTime = false
 
MusicPlayType playType = MusicPlayType.Play
 
float fadeTime = 1
 
EaseType interpolate = EaseType.Linear
 
- Public Attributes inherited from ORKFramework.Behaviours.BaseInteraction
EventStartType startType = EventStartType.None
 
bool inBlockedControl = false
 
string customType = ""
 
float autoStartAfter = 0
 
bool allowClick = true
 
bool overrideClickDistance = false
 
float maxClickDistance = 3
 
bool useMoveToInteraction = true
 
GameObject destinationObject
 
bool overrideInteractionRadius = false
 
float interactionRadius = 1
 
bool overrideStopDistance = false
 
float stopDistance = 1
 
bool overrideMoveToSpeed = false
 
MoveSpeed moveToSpeed
 
int keyToPress = 0
 
bool keyPressInTrigger = false
 
bool keyPressWhileColliding = false
 
EventDropType dropType = EventDropType.Item
 
ItemGain dropItem = new ItemGain()
 
AbilitySelection dropAbility = new AbilitySelection()
 
bool consumeDrop = false
 
bool startByCollider = true
 
bool startByTrigger = true
 
bool startByRootObject = false
 
bool useOtherObject = false
 
EventStartObject startObjectCheck
 
HorizontalPlaneType horizontalPlane = HorizontalPlaneType.XZ
 
bool useFront = true
 
bool useBack = true
 
bool useLeft = true
 
bool useRight = true
 
- Public Attributes inherited from ORKFramework.Behaviours.BaseConditionComponent
bool autoDestroy = true
 
bool repeatDestroy = false
 
float destroyCheckTime = 1
 
bool checkObjectVariables = false
 
VariableCondition variableCondition = new VariableCondition()
 
bool setObjectVariables = false
 
VariableSetter variableSetter = new VariableSetter()
 
QuestCondition questCondition = new QuestCondition()
 
- Public Attributes inherited from ORKFramework.Behaviours.SceneID
bool useSceneID = true
 
int sceneID = -1
 

Properties

override InteractionType Type [get]
 
- Properties inherited from ORKFramework.Behaviours.BaseInteraction
bool EventStarted [get]
 
float?? MoveDestinationOffset [get]
 
abstract InteractionType Type [get]
 

Additional Inherited Members

- Protected Member Functions inherited from ORKFramework.Behaviours.BaseInteraction
virtual void OnEnable ()
 
virtual void OnDisable ()
 
void AutoStart ()
 
void DoAutoStart ()
 
void StartMoveToInteraction (GameObject player)
 
virtual void Update ()
 
- Protected Member Functions inherited from ORKFramework.Behaviours.BaseConditionComponent
bool CheckAutoDestroy ()
 
void AutoDestroy ()
 
- Protected Attributes inherited from ORKFramework.Behaviours.BaseInteraction
int isInTrigger = 0
 
int isColliding = 0
 
bool eventStarted = false
 
bool registered = false
 
- Protected Attributes inherited from ORKFramework.Behaviours.BaseConditionComponent
bool isInvoking = false