// Use this for initialization void Start() { //取得 robotUIcs = GetComponent <LeftClickRobot>(); monsterUIcs = GetComponent <LeftClickMonster>(); this_obj = GameObject.Find("LeftBaseUI"); }
// Use this for initialization void Start() { //取得 baseUIcs = GetComponent <LeftClickMap>(); monsterUIcs = GetComponent <LeftClickMonster>(); this_obj = GameObject.Find("StatusUI"); clonePotision.x = -20.0f; clonePotision.y = 0.0f; textDead = "DEAD"; deadState = false; }
// Use this for initialization void Start() { baseUIcs = UI_manager.GetComponent <LeftClickMap>(); robotUIcs = UI_manager.GetComponent <LeftClickRobot>(); monsterUIcs = UI_manager.GetComponent <LeftClickMonster>(); }