// Update is called once per frame public void Start() { sm = GameObject.FindGameObjectWithTag("Sound").GetComponent <SoundManager>(); knight = GameObject.FindGameObjectWithTag("Player").GetComponent <KnightAttack>(); manaUi = GameObject.Find("ManaUI").GetComponent <ManaUI>(); }
private void Awake() { instance = this; }
// Start is called before the first frame update private void Awake() { ManaBar = this; }