Interface which defines the handlers for NetworkRunner Spawn() and Despawn() actions. Passing an instance of this interface to NetworkRunner.StartGame(StartGameArgs) as the StartGameArgs.ObjectProvider argument value will assign that instance as the handler for runner Spawn() and Despawn() actions. By default (if StartGameArgs.ObjectProvider == null), actions will use Instantiate(), and Despawn() actions will use Destroy().
More...
|
| NetworkObjectAcquireResult | AcquireInstance (NetworkRunner runner, in NetworkObjectAcquireContext context, out NetworkObject result) |
| | Acquires an instance of a prefab for a network object.
|
| NetworkObjectAcquireResult | AcquirePrefabInstance (NetworkRunner runner, in NetworkPrefabAcquireContext context, out NetworkObject result) |
| | Obsolete, use AcquireInstance((NetworkRunner runner, in NetworkObjectAcquireContext context, out NetworkObject result) instead.
|
| NetworkPrefabId | GetPrefabId (NetworkRunner runner, NetworkObjectGuid prefabGuid) |
| | Translates guid into prefab id.
|
|
NetworkPrefabId | GetPrefabId (NetworkRunner runner, string prefabName) |
| | Translates guid into prefab id.
|
| void | Initialize (NetworkRunner networkRunner) |
| | Called when the NetworkRunner is starting up.
|
| void | ReleaseInstance (NetworkRunner runner, in NetworkObjectReleaseContext context) |
| | Releases an instance of a network object.
|
| void | Shutdown (NetworkRunner networkRunner) |
| | Called when the NetworkRunner is shutting down.
|
Interface which defines the handlers for NetworkRunner Spawn() and Despawn() actions. Passing an instance of this interface to NetworkRunner.StartGame(StartGameArgs) as the StartGameArgs.ObjectProvider argument value will assign that instance as the handler for runner Spawn() and Despawn() actions. By default (if StartGameArgs.ObjectProvider == null), actions will use Instantiate(), and Despawn() actions will use Destroy().