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>(); }
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(); }