Example #1
0
 // Use this for initialization
 void Start()
 {
     resources = gameObject.GetComponent <ResourcesManager> ();
     board     = gameObject.GetComponent <BoardManager> ();
 }
Example #2
0
 // Use this for initialization
 void Start()
 {
     resources = gameObject.GetComponent<ResourcesManager> ();
     board = gameObject.GetComponent<BoardManager> ();
 }
        void Start()
        {
            notifManager = GameObject.Find ("Notifications").GetComponent<NotificationsManager> ();
            actionPanelRect = actionPanel.GetComponent<RectTransform> ();
            resources = gameObject.GetComponent<ResourcesManager> ();
            alertManager = GameObject.Find ("AlertPanel").GetComponent<AlertPanelManager>();
            boardHolder = new GameObject ("Board").transform;

            alertManager.ClosePanel();
        }