Class NetworkObjectList
It searches the project for all NGO_GameCharacter and NGO_GameItem, saves them in a list, and adds them to the NetworkManager's list of NetworkPrefabs.
Inheritance
System.Object
NetworkObjectList
Namespace: AutoBattleFramework.Multiplayer.BattleBehaviour
Assembly: cs.temp.dll.dll
Syntax
public class NetworkObjectList : MonoBehaviour
Properties
ActorList
Declaration
public List<GameActor> ActorList { get; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.List<GameActor> |
Methods
AddActor(GameActor)
Declaration
public void AddActor(GameActor actor)
Parameters
| Type | Name | Description |
|---|---|---|
| GameActor | actor |
SetActorList(List<GameActor>)
Declaration
public void SetActorList(List<GameActor> actors)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Collections.Generic.List<GameActor> | actors |