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;
// Use this for initialization void Awake() { Instance = this; }