예제 #1
0
 // Use this for initialization
 void Start()
 {
     resources = gameObject.GetComponent <ResourcesManager> ();
     board     = gameObject.GetComponent <BoardManager> ();
 }
예제 #2
0
 // Use this for initialization
 void Start()
 {
     resources = gameObject.GetComponent<ResourcesManager> ();
     board = gameObject.GetComponent<BoardManager> ();
 }
예제 #3
0
        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();
        }