void Start() { global = GameObject.Find("[CLTOOLKIT]GLOBAL").GetComponent <ZXTK_Global>(); autoPoint = gameObject.GetComponent <ZXTK_AutoPoint>(); prompt = gameObject.GetComponent <ZXTK_Prompt>(); shake = gameObject.GetComponent <ZXTK_Shake>(); }
void Awake() { prompt = gameObject.GetComponentInParent <ZXTK_Prompt>(); shake = gameObject.GetComponentInParent <ZXTK_Shake>(); }