Ejemplo n.º 1
0
    void Start()
    {
        dispText = stats.GetComponent<Text>();
        Check();

        GameObject obj;
        obj = GameObject.Find ("XP");
        xps = obj.GetComponent<XPScript>();
    }
Ejemplo n.º 2
0
 void Start()
 {
     GameObject obj;
     obj = GameObject.Find ("XP");
     xps = obj.GetComponent<XPScript>();
 }