C# 클래스 CheckPoint, Unity-CheckPoints

상속: MonoBehaviour
파일 보기 프로젝트 열기: santiandrade/Unity-CheckPoints 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
Activated bool
CheckPointsList GameObject[]

공개 메소드들

메소드 설명
GetActiveCheckPointPosition ( ) : Vector3

Get position of the last activated checkpoint

비공개 메소드들

메소드 설명
ActivateCheckPoint ( ) : void

Activate the checkpoint

OnTriggerEnter ( Collider other ) : void
Start ( ) : void

메소드 상세

GetActiveCheckPointPosition() 공개 정적인 메소드

Get position of the last activated checkpoint
public static GetActiveCheckPointPosition ( ) : Vector3
리턴 Vector3

프로퍼티 상세

Activated 공개적으로 프로퍼티

Indicate if the checkpoint is activated
public bool Activated
리턴 bool

CheckPointsList 공개적으로 정적으로 프로퍼티

List with all checkpoints objects in the scene
public static GameObject[] CheckPointsList
리턴 GameObject[]