private void OnTriggerEnter(Collider other) { _fuelComponent = other.GetComponent <FuelConsumptionComponent>(); if (_fuelComponent != null) { _playerCharging = true; if (GameEventsManager.OnFuelStartCharging != null) { GameEventsManager.OnFuelStartCharging(); } } }