Skip to content

Class: NetworkedManagerBase<T> ​

csharp
[LogicUpdatePriority(-300)]
public class NetworkedManagerBase<T> : DewNetworkBehaviour, ILogicUpdate where T : DewNetworkBehaviour

Properties ​

NameDeclarationDescription
instancepublic static T instance { get; }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.
softInstancepublic static T softInstance { get; }

Methods ​

Awake() ​

csharp
protected override void Awake()

OnEnable() ​

csharp
protected virtual void OnEnable()

OnStartClient() ​

csharp
public override void OnStartClient()

OnStopClient() ​

csharp
public override void OnStopClient()

Maintained by the Shape of Dreams Modding Community