// 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>(); robotUIcs = GetComponent <LeftClickRobot>(); this_obj = GameObject.Find("MonsterUI"); viewArea = GameObject.Find("UIArea"); clonePotision.x = -20.0f; clonePotision.y = 0.0f; // MonsterNumber = 99; }
// Use this for initialization void Start() { baseUIcs = UI_manager.GetComponent <LeftClickMap>(); robotUIcs = UI_manager.GetComponent <LeftClickRobot>(); monsterUIcs = UI_manager.GetComponent <LeftClickMonster>(); }