Abstract Class that defines functions for interactions. More...
Data Fields | |
System.Action | OnInteractionEnter |
System.Action | OnInteractionStay |
System.Action | OnFocusEnter |
System.Action | OnFocusStay |
System.Action | OnFocusExit |
System.Action | OnInteractionExecuted |
System.Action | OnInteractionExit |
Abstract Class that defines functions for interactions.
System.Action Interactable.OnFocusEnter |
Executes Once
Will execute if the object is the closest to the player
System.Action Interactable.OnFocusExit |
Executes Once
Will execute when the object no longer is the closest to the player
System.Action Interactable.OnFocusStay |
Executes every frame if on range
Will run if the object is the closest to the player on the frame
System.Action Interactable.OnInteractionEnter |
Executes Once
Will trigger only once when the player enters the range of the interactable
System.Action Interactable.OnInteractionExecuted |
Executes Per Input
Once the player hits the interaction key, this will execute
System.Action Interactable.OnInteractionExit |
Executes Once
Will execute when the player interaction radious no longer reaches the object
System.Action Interactable.OnInteractionStay |
Executes every frame if on range
Will run if the player interaction radius is in range