Exemplo n.º 1
0
        public void SetHands(ElectricalHands hands)
        {
            _hands = hands;

            _hands.OnPowerGained += FillSegment;
            _hands.OnPowerLost   += EmptySegment;
        }
Exemplo n.º 2
0
        public void EquipHands(ElectricalHands hands)
        {
            if (_hands != null)
            {
                Destroy(_hands.gameObject);
            }

            _hands = hands;
            _hands.transform.SetParent(transform);
        }