C# 클래스 Stairs

상속: MonoBehaviour
파일 보기 프로젝트 열기: NotProGamer/emtojere 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
destination Transform
levelDistance float
open bool
teleportChance float
teleportTimer float

공개 메소드들

메소드 설명
GetDestinationFloor ( ) : int
GetFloor ( ) : int
SetTimer ( float timer ) : void

비공개 메소드들

메소드 설명
GetDirection ( Vector3 target ) : LureDirection
OnPause ( ) : void
OnResume ( ) : void
OnTriggerEnter2D ( Collider2D other ) : void
Start ( ) : void
Update ( ) : void

메소드 상세

GetDestinationFloor() 공개 메소드

public GetDestinationFloor ( ) : int
리턴 int

GetFloor() 공개 메소드

public GetFloor ( ) : int
리턴 int

SetTimer() 공개 메소드

public SetTimer ( float timer ) : void
timer float
리턴 void

프로퍼티 상세

destination 공개적으로 프로퍼티

public Transform destination
리턴 Transform

levelDistance 공개적으로 프로퍼티

public float levelDistance
리턴 float

open 공개적으로 프로퍼티

public bool open
리턴 bool

teleportChance 공개적으로 프로퍼티

public float teleportChance
리턴 float

teleportTimer 공개적으로 프로퍼티

public float teleportTimer
리턴 float