// Use this for initialization protected virtual void Start() { ShowEventLog = false; Interaction = GameObject.FindGameObjectWithTag("interaction").GetComponent <Text>(); PotionController = FindObjectOfType <CharacterPotionController>(); WeaponController = FindObjectOfType <CharacterWeaponController>(); Interaction.text = ""; }
private void Awake() { _controller = FindObjectOfType <CharacterPotionController>(); }