Class NetworkWorldExtensions
Inheritance
System.Object
Inherited Members
Show
Syntax
public static class NetworkWorldExtensions
Methods
AddAndInvokeOnSpawn(NetworkWorld, Action<NetworkIdentity>)
adds an event handler, and invokes it on current objects in world
Declaration
public static void AddAndInvokeOnSpawn(this NetworkWorld world, Action<NetworkIdentity> action)
Parameters
Type | Name | Description |
---|---|---|
Mirage.NetworkWorld | world | |
System.Action<Mirage.NetworkIdentity> | action |
AddAndInvokeOnAuthorityChanged(NetworkWorld, AuthorityChanged)
adds an event handler, and invokes it on current objects in world
Declaration
public static void AddAndInvokeOnAuthorityChanged(this NetworkWorld world, AuthorityChanged action)
Parameters
Type | Name | Description |
---|---|---|
Mirage.NetworkWorld | world | |
Mirage.AuthorityChanged | action |