// Use this for initialization //void Start() public BuildingsManager() { //player = GetComponent<Player>(); //inputs = etComponent<UserInput>(); grid = GameObject.FindWithTag("GameController").GetComponent<ConstructionGrid>(); cursor = CursorManager.Instance; // alpha components for the colors red.a = 0.5f; green.a = 0.5f; InitBuildingStruct(); notifier = GameObject.FindWithTag("GameController").GetComponent<EventsNotifier>(); }
private void Awake() { Instance = this; }