Exemplo n.º 1
0
    void Awake()
    {
        instance = this;
        mestText = GameObject.Find("AmmoNumberText");
        textMesh = mestText.GetComponent <Text>();

        ammos = GameObject.Find("Ammos");
        magic = GameObject.Find("MagicBaby");
        magic.SetActive(false);
    }
 // Start is called before the first frame update
 void Awake() => Instance = this;
Exemplo n.º 3
0
 // Use this for initialization
 void Awake()
 {
     Instance = this;
 }