// Use this for initialization void Start() { _interacaoObjeto = GetComponent <InteracaoObjeto>(); }
// Use this for initialization void Start() { _player = GameObject.FindWithTag("Player").GetComponent <Player>(); _playerData = GameObject.FindGameObjectWithTag("Data").GetComponent <PlayerData>(); _interacaoObjeto = GetComponent <InteracaoObjeto>(); }