Inheritance: BehaviourBase
Esempio n. 1
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();
        }
Esempio n. 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();
        }