示例#1
0
 void Start()
 {
     Me = this.gameObject.GetComponent <IF_Selectable>();
     if (Me == null)
     {
         Debug.Log("Missing Selectable script");
         //TODO: Exception
     }
     this.ClickManager = GameObject.Find("ClickModeManager").GetComponent <ClickModeManager>();
 }
示例#2
0
 public void OnPointerDown(PointerEventData eventData)
 {
     ClickModeManager.GetInstance().ClickedOnGO(this.gameObject);
 }
 // Use this for initialization
 void Start()
 {
     this.enabled = false;
     Me           = this;
 }
 void Start()
 {
     ClickModeMan = ClickModeManager.GetInstance();
 }