private new void Awake() { base.Awake(); m_trashMovement = GetComponent <TrashJuiceMovement>(); m_trashJuiceStats = GetComponent <CharacterStats>(); m_trashJuiceHealthBar = GetComponent <UIBar>(); }
private new void Awake() { base.Awake(); _trashMovement = GetComponent <TrashJuiceMovement>(); _trashJuiceStats = GetComponent <CharacterStats>(); _trashJuiceHealthBar = GetComponent <HealthBar>(); transform.position = new Vector3(transform.position.x, transform.position.y, 5f); }