Property | Type | Description | |
---|---|---|---|
m_Actor | |||
m_ObjId | int | ||
m_Visible | bool |
Property | Type | Description | |
---|---|---|---|
Create | void | ||
Destroy | void | ||
SyncSpatial | void | ||
Update | void | ||
UpdateSpatial | void | ||
UpdateVisible | bool |
Method | Description | |
---|---|---|
Death ( ) : void |
死亡
|
|
Hide ( bool hide, bool bNPC = false ) : void |
隐身效果切换
|
|
MoveTo ( float x, float y, float z ) : void | ||
PlayAnimation ( string anim ) : void | ||
SetMoveAgentEnable ( bool enable ) : void |
是否使用NavAgent
|
|
SetRedEdge ( float duration ) : void | ||
StopMove ( ) : void | ||
ToggleMaskEffect ( bool enable ) : void | ||
UpdateEdgeColor ( ) : void |
Method | Description | |
---|---|---|
CreateActor ( int objId, string model, float x, float y, float z, float dir, float scale, float radius, float speed ) : void | ||
DestroyActor ( ) : void | ||
SetVisible ( bool visible ) : void |
Method | Description | |
---|---|---|
Create ( |
||
Destroy ( ) : void | ||
SyncSpatial ( ) : void | ||
Update ( ) : void | ||
UpdateSpatial ( ) : void | ||
UpdateVisible ( bool visible ) : bool |
protected CreateActor ( int objId, string model, float x, float y, float z, float dir, float scale, float radius, float speed ) : void | ||
objId | int | |
model | string | |
x | float | |
y | float | |
z | float | |
dir | float | |
scale | float | |
radius | float | |
speed | float | |
return | void |
public Hide ( bool hide, bool bNPC = false ) : void | ||
hide | bool | |
bNPC | bool | |
return | void |
public MoveTo ( float x, float y, float z ) : void | ||
x | float | |
y | float | |
z | float | |
return | void |
public SetMoveAgentEnable ( bool enable ) : void | ||
enable | bool | |
return | void |
public ToggleMaskEffect ( bool enable ) : void | ||
enable | bool | |
return | void |
protected GameObject,UnityEngine m_Actor | ||
return |