Example #1
0
 private void Start()
 {
     mUICtr = UIContller.GetInstance;
     transform.GetComponent<Button>().onClick.AddListener(UIButtonFunction);
     
     //UIButtonFunction();
 }
Example #2
0
 private void Awake()
 {
     mBlockManager = gameObject.AddComponent<BlockManager>();
     mUIContller = gameObject.AddComponent<UIContller>();
 }