Skip to main content

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​
TypeNameDescription
Mirage.NetworkWorldworld
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​
TypeNameDescription
Mirage.NetworkWorldworld
Mirage.AuthorityChangedaction