C# Class Stairs

Inheritance: MonoBehaviour
Exibir arquivo Open project: NotProGamer/emtojere Class Usage Examples

Public Properties

Property Type Description
destination Transform
levelDistance float
open bool
teleportChance float
teleportTimer float

Public Methods

Method Description
GetDestinationFloor ( ) : int
GetFloor ( ) : int
SetTimer ( float timer ) : void

Private Methods

Method Description
GetDirection ( Vector3 target ) : LureDirection
OnPause ( ) : void
OnResume ( ) : void
OnTriggerEnter2D ( Collider2D other ) : void
Start ( ) : void
Update ( ) : void

Method Details

GetDestinationFloor() public method

public GetDestinationFloor ( ) : int
return int

GetFloor() public method

public GetFloor ( ) : int
return int

SetTimer() public method

public SetTimer ( float timer ) : void
timer float
return void

Property Details

destination public_oe property

public Transform destination
return Transform

levelDistance public_oe property

public float levelDistance
return float

open public_oe property

public bool open
return bool

teleportChance public_oe property

public float teleportChance
return float

teleportTimer public_oe property

public float teleportTimer
return float