프로퍼티 | 타입 | 설명 | |
---|---|---|---|
visibility | float |
프로퍼티 | 타입 | 설명 | |
---|---|---|---|
doSound | AudioClip | ||
idleSound | AudioClip | ||
moving | bool | ||
running | bool | ||
runningSound | AudioClip | ||
walkingSound | AudioClip |
메소드 | 설명 | |
---|---|---|
FindClosest ( string tag ) : GameObject | ||
GoTo ( Vector3 target, bool isRunning ) : void | ||
makeDoSound ( ) : void |
메소드 | 설명 | |
---|---|---|
AimAtTarget ( ) : void | ||
Animating ( ) : void | ||
Awake ( ) : void | ||
CancelPath ( ) : void |
Tell the unit to cancel the movement path to the given position.
|
|
HasPath ( ) : bool |
Tell the unit to cancel the movement path to the given position.
|
|
OnGUI ( ) : void | ||
OnMouseDown ( ) : void | ||
SetNewPath ( Vector3 target, bool isRunning ) : void |
Tells the unit to move to the given position, by generating and following a route to the desired position.
|
|
Update ( ) : void | ||
UseWeapon ( ) : void | ||
chargeSounds ( string objectName ) : void |
메소드 | 설명 | |
---|---|---|
FittedCharacterCollider ( ) : void | ||
OnPathComplete ( Path newPath ) : void | ||
moveToPosition ( ) : void |
public GoTo ( Vector3 target, bool isRunning ) : void | ||
target | Vector3 | |
isRunning | bool | |
리턴 | void |
protected SetNewPath ( Vector3 target, bool isRunning ) : void | ||
target | Vector3 | The position we want the unit to move to. |
isRunning | bool | |
리턴 | void |
protected chargeSounds ( string objectName ) : void | ||
objectName | string | |
리턴 | void |