private void Start() { enemy = FindObjectOfType <Enemy>(); writingMan = FindObjectOfType <GenerateWriting>(); enMan = FindObjectOfType <EnemyManager>(); deck = FindObjectOfType <Deck>(); }
private void Start() { spellManager = FindObjectOfType <SpellManager>(); generateWriting = FindObjectOfType <GenerateWriting>(); this.gameObject.SetActive(false); }