private void Leave(Knob knob) { knob.ChangeColour(Color.white); grab.approached = null; grab.grabbed = null; grab.hand = null; }
private void Grabbed(Knob knob, IHand hand) { grab.hand = hand; knob.ChangeColour(Color.red); knobs.FadeOtherKnobs(knob); layer += 1; text += knob.Text(); string arrangement = knobArranger.Arrange(layer * 0.2f); debug.Log(arrangement); grab.grabbed = knob; grab.approached = null; }
private void Approach(Knob knob) { grab.approached = knob; knob.ChangeColour(Color.black); }