Esempio n. 1
0
 public static void SetOnClick(this UIPointerClick self, UnityAction callback)
 {
     self.ActivatingComponent();
     self.RemoveOnClick();
     self.__onclick = () =>
     {
         //AkSoundEngine.PostEvent("ConFirmation", Camera.main.gameObject);
         callback();
     };
     self.unity_pointerclick.onClick.AddListener(self.__onclick);
 }
Esempio n. 2
0
 public static void SetEnabled(this UIPointerClick self, bool flag)
 {
     self.ActivatingComponent();
     self.unity_pointerclick.enabled = flag;
 }