Beispiel #1
0
    public static UI_Manager UI;        //UI管理

    void Awake()
    {
        inventory = GameObject.Find("Inventory").GetComponent <Inventory2> ();
        equip     = GameObject.Find("Equipment").GetComponent <Equip_Manager>();
        store     = GameObject.Find("store").GetComponent <Store>();
        key       = GameObject.Find("short cut/Key").GetComponent <Key> ();
        skillUI   = GameObject.Find("skill_UI").GetComponent <Skill_UI> ();
        money     = GameObject.Find("inventory/Win/money").GetComponent <Money> ();
        UI        = GameObject.Find("UI Root").GetComponent <UI_Manager> ();
    }
Beispiel #2
0
    //public static MiniMap nimimMap;//小地图
    //public static BossBlood bossBlood;//Boss血条
    //public static TeamMates teamMates;//队友


    void Awake()
    {
        inventory  = GameObject.Find("Inventory").GetComponent <Inventory_Manager>();
        equip      = GameObject.Find("Equipment").GetComponent <Equip_Manager>();
        key        = GameObject.Find("short cut/Key").GetComponent <Key>();
        skillUI    = GameObject.Find("skill_UI").GetComponent <Skill_UI>();
        taskUI     = GameObject.Find("task_UI").GetComponent <Task_UI>();
        money      = GameObject.Find("inventory/Win/money").GetComponent <Money>();
        UI         = GameObject.Find("UI Root").GetComponent <UI_Manager>();
        keyControl = GameObject.Find("short cut").GetComponent <KeyControl>();
        //nimimMap = GameObject.Find("MiniMap").GetComponent<MiniMap>();
        //bossBlood = GameObject.Find("BossBlood").GetComponent<BossBlood>();
        //teamMates = GameObject.Find("TeamMates").GetComponent<TeamMates>();
    }