예제 #1
0
파일: LogicHub.cs 프로젝트: Guillemsc/Fast
        private void GatherLogicView()
        {
            if (logic_view != null)
            {
                return;
            }

            logic_view = gameObject.GetComponent <View.LogicView>();

            if (logic_view != null)
            {
                logic_view.SetLogicHub(this);
            }
        }
예제 #2
0
 public void SetLogicParent(LogicView logic_view)
 {
     this.logic_view = logic_view;
 }