Battle Talent  V11
Public Member Functions | Public Attributes | Events | List of all members
CrossLink.PhysicsSwitch Class Reference

Inherits MonoBehaviour.

Public Member Functions

bool CurrentState ()
 
void SetRotation (bool forState, bool force=false)
 

Public Attributes

bool currentState = true
 
Transform onButton
 
Transform offButton
 
Rigidbody rigidbody
 
Transform target
 

Events

System.Action< PhysicsSwitchSwitchEvent