private void Awake() { if (instance == null) { instance = this; GameObject.DontDestroyOnLoad(this.gameObject); } else { GameObject.Destroy(this.gameObject); } }
private void Awake() { MouseInterface.RegisterOnClickRigth(SpawnChunkOnMouse); MouseInterface.RegisterOnClickRigth(MapInterface.SelectHexUnderMouse); }