コード例 #1
0
    void Start()
    {
        dispText = stats.GetComponent<Text>();
        Check();

        GameObject obj;
        obj = GameObject.Find ("XP");
        xps = obj.GetComponent<XPScript>();
    }
コード例 #2
0
ファイル: debug.cs プロジェクト: choirdesign/hack-slash
 void Start()
 {
     GameObject obj;
     obj = GameObject.Find ("XP");
     xps = obj.GetComponent<XPScript>();
 }