Method | Description | |
---|---|---|
AddActor ( ScriptRuntime.Actor obj ) : bool |
给场景添加一个Actor
|
|
FindActor ( System.Guid guid ) : ScriptRuntime.Actor |
根据guid返回场景中其对应的Actor
|
|
FindActor ( String name ) : ScriptRuntime.Actor |
根据Actor的名字返回对应Actor
|
|
FindActor ( uint fastID ) : ScriptRuntime.Actor |
根据fastID返回场景中其对应的Actor
|
|
FindActorInGroup ( uint tagID ) : ScriptRuntime.Actor |
根据tagID返回场景中其对应的Actor
|
|
FindActorsInGroup ( uint tagID ) : ScriptRuntime.Actor[] |
根据GroupID返回场景中其对应Actor列表
|
|
GetActor ( int index ) : ScriptRuntime.Actor |
根据Actor列表的索引,返回对应的Actor
|
|
RemoveActor ( ScriptRuntime.Actor obj ) : bool |
移除场景中对应的Actor实例
|
Method | Description | |
---|---|---|
Scene ( ) : System | ||
Scene ( DummyClass__ dummyObj ) : System |
public AddActor ( ScriptRuntime.Actor obj ) : bool | ||
obj | ScriptRuntime.Actor | 要添加的Actor实例 |
return | bool |
public FindActor ( System.Guid guid ) : ScriptRuntime.Actor | ||
guid | System.Guid | guid的值 |
return | ScriptRuntime.Actor |
public FindActor ( String name ) : ScriptRuntime.Actor | ||
name | String | Actor的名字 |
return | ScriptRuntime.Actor |
public FindActor ( uint fastID ) : ScriptRuntime.Actor | ||
fastID | uint | fastID的值 |
return | ScriptRuntime.Actor |
public FindActorInGroup ( uint tagID ) : ScriptRuntime.Actor | ||
tagID | uint | tagID的值 |
return | ScriptRuntime.Actor |
public FindActorsInGroup ( uint tagID ) : ScriptRuntime.Actor[] | ||
tagID | uint | |
return | ScriptRuntime.Actor[] |
public GetActor ( int index ) : ScriptRuntime.Actor | ||
index | int | Actor列表中的索引 |
return | ScriptRuntime.Actor |
public RemoveActor ( ScriptRuntime.Actor obj ) : bool | ||
obj | ScriptRuntime.Actor | 要移除的Actor实例 |
return | bool |