Property | Type | Description | |
---|---|---|---|
DoorBlinTexture | Texture[] | ||
MinDistance | float | ||
OpeningSpeed | float | ||
isCanOpen | bool |
Method | Description | |
---|---|---|
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 |
Method | Description | |
---|---|---|
Trigger ( ) : float |
The distance between Door and Player
|
|
isEmptyDoorMaterial ( ) : bool | ||
isRightButtonUp ( bool t ) : void | ||
isTriggerDistance ( ) : bool |