protected override void OnCreated(GameObject rGo) { base.OnCreated(rGo); panel = behaviour.GetLShapObject() as SampleTwoPanel; panel.logic = this; behaviour.AddClick(panel.buttonBack.gameObject, OnClick); Enable(); }