Class NetworkedManagerBase<T>
Inheritance
object
UnityEngine.Object
UnityEngine.Component
UnityEngine.Behaviour
UnityEngine.MonoBehaviour
Mirror.NetworkBehaviour
NetworkedManagerBase<T>
Implements
Inherited Members
Namespace: Global
Assembly: Dew.Core.dll
Syntax
[LogicUpdatePriority(-300)]
public class NetworkedManagerBase<T> : DewNetworkBehaviour, ILogicUpdate where T : DewNetworkBehaviour
Type Parameters
| Name | Description |
|---|---|
| T |
Properties
instance
If you expect the instance to be null, you MUST USE softInstance in Update loops.
This will call FindObjectOfType if current instance is null, which can be very expensive.
Declaration
public static T instance { get; }
Property Value
| Type | Description |
|---|---|
| T |
softInstance
Declaration
public static T softInstance { get; }
Property Value
| Type | Description |
|---|---|
| T |
Methods
Awake()
Declaration
protected override void Awake()
Overrides
OnEnable()
Declaration
protected virtual void OnEnable()
OnStartClient()
Declaration
public override void OnStartClient()
Overrides
OnStopClient()
Declaration
public override void OnStopClient()