示例#1
0
 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>();
 }
示例#2
0
 void Awake()
 {
     prompt = gameObject.GetComponentInParent <ZXTK_Prompt>();
     shake  = gameObject.GetComponentInParent <ZXTK_Shake>();
 }