C# 클래스 OpenDoor, Unity3D

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

공개 프로퍼티들

프로퍼티 타입 설명
DoorBlinTexture Texture[]
MinDistance float
OpeningSpeed float
isCanOpen bool

공개 메소드들

메소드 설명
ForB ( ) : void

judge the player whether is front of the door or not

MouseLeftButton ( ) : void

If you Click Mouse Left Button, you will call this function.

OnGUI ( ) : void
Start ( ) : void
Update ( ) : void
opDoor ( bool op ) : void

비공개 메소드들

메소드 설명
Trigger ( ) : float

The distance between Door and Player

isEmptyDoorMaterial ( ) : bool
isRightButtonUp ( bool t ) : void
isTriggerDistance ( ) : bool

메소드 상세

ForB() 공개 메소드

judge the player whether is front of the door or not
public ForB ( ) : void
리턴 void

MouseLeftButton() 공개 메소드

If you Click Mouse Left Button, you will call this function.
public MouseLeftButton ( ) : void
리턴 void

OnGUI() 공개 메소드

public OnGUI ( ) : void
리턴 void

Start() 공개 메소드

public Start ( ) : void
리턴 void

Update() 공개 메소드

public Update ( ) : void
리턴 void

opDoor() 공개 메소드

public opDoor ( bool op ) : void
op bool
리턴 void

프로퍼티 상세

DoorBlinTexture 공개적으로 프로퍼티

public Texture[] DoorBlinTexture
리턴 Texture[]

MinDistance 공개적으로 프로퍼티

public float MinDistance
리턴 float

OpeningSpeed 공개적으로 프로퍼티

public float OpeningSpeed
리턴 float

isCanOpen 공개적으로 프로퍼티

public bool isCanOpen
리턴 bool