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

Inherits CrossLink.SceneObj.

Public Member Functions

void MoveTo (Vector3 pos, float platformSpeed, System.Action onEnd=null)
 
void MoveToEnd ()
 
void MoveToStart ()
 
void MoveBack ()
 

Public Attributes

Rigidbody rb
 
Transform startPosition
 
Transform endPosition
 
float forwardSpeed = 15
 
float backwardSpeed = 5
 
UnityEvent arriveToStart
 
UnityEvent arriveToEnd
 
bool dontMovebackIfMoving = true
 
SoundEffectPlayer sound
 

Additional Inherited Members