protected ServerSideController(ServerGameManager owner) : base(owner) { if (Instance != null) { var text = string.Format( "StateController<{0}>. Instance already created!", typeof(T).Name); throw new UnityException(text); } Instance = this as T; }
protected BaseServersideController(ServerGameManager owner) { Owner = owner; }