示例#1
0
    // Start is called before the first frame update
    void Start()
    {
        menuFonctions = GameObject.Find("GameManager").GetComponent <KLD_MenuFonctions>();

        hpDisplayText = GameObject.Find("LifeCanvas").transform.GetChild(0).GetComponent <Text>();

        curHP = startHP;
        refreshHpDisplay();
    }
示例#2
0
 // Start is called before the first frame update
 void Start()
 {
     menuFonctions = GameObject.Find("GameManager").GetComponent <KLD_MenuFonctions>();
 }