Example #1
0
 private void Start()
 {
     if (GameChoice.GameMode == GameMode.Online)
     {
         return;
     }
     print("i am not online mode");
     UuidManager.GetInstance().Register(this);
 }
Example #2
0
 public void ModifySelfId(Guid id)
 {
     UuidManager.GetInstance().Remove(uuid);
     uuid = id;
     UuidManager.GetInstance().Register(this);
 }
Example #3
0
 public static UuidManager GetInstance()
 {
     return(_instance ?? (_instance = new UuidManager()));
 }