Inheritance: BehaviourBase
        protected override void OnCreated(GameObject rGo)
        {
            base.OnCreated(rGo);

            panel       = behaviour.GetLShapObject() as SampleTwoPanel;
            panel.logic = this;

            behaviour.AddClick(panel.buttonBack.gameObject, OnClick);

            Enable();
        }
示例#2
0
        protected override void OnCreated(GameObject rGo)
        {
            base.OnCreated(rGo);

            panel = behaviour.GetLShapObject() as SampleTwoPanel;
            panel.logic = this;

            behaviour.AddClick(panel.buttonBack.gameObject, OnClick);

            Enable();
        }