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