// Start is called before the first frame update void Start() { this.cameraBuilding = GameObject.FindObjectOfType <CameraBuilding>(); this.cameraBuilding.gameObject.SetActive(false); this.SetPrefabDatabase(); this.buildUIManager = GameObject.FindObjectOfType <BuildUIManager>(); this.buildUIManager.Init(); this.buildUIManager.gameObject.SetActive(false); instance = this; this.InitEntities(); }
// Start is called before the first frame update void Start() { instance = this; }