Example #1
0
    // 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;
    }
Example #2
0
    // 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;
    }
Example #3
0
 // Use this for initialization
 void Start()
 {
     baseUIcs    = UI_manager.GetComponent <LeftClickMap>();
     robotUIcs   = UI_manager.GetComponent <LeftClickRobot>();
     monsterUIcs = UI_manager.GetComponent <LeftClickMonster>();
 }