Example #1
0
        // Use this for initialization
        protected virtual void Start()
        {
            ShowEventLog = false;

            Interaction = GameObject.FindGameObjectWithTag("interaction").GetComponent <Text>();

            PotionController = FindObjectOfType <CharacterPotionController>();
            WeaponController = FindObjectOfType <CharacterWeaponController>();

            Interaction.text = "";
        }
Example #2
0
 private void Awake()
 {
     _controller = FindObjectOfType <CharacterPotionController>();
 }