예제 #1
0
        /********** Custom Methods **********/

        private void HookToMainToolBar()
        {
            UISprite _demandBack = (UISprite)oGameNativeUI.FindUIComponent("DemandBack");

            oDemandTriggerButton = _demandBack.AddUIComponent <RCIButton>();
            CreateButton(ref oDemandTriggerButton);
        }
예제 #2
0
 private void CreateButton(ref RCIButton btn)
 {
     btn.eventClick += button_eventClick;
 }