public void StartInflatingBubble(MLHand hand) { Debug.Log("Started inflating with hand: " + (hand.Equals(MLHands.Left) ? "left" : "right")); Inflating = true; Holding = true; _inflatingHand = hand; }
public void PopInflatingBubble(MLHand hand) { Debug.Log("Popping inflating bubble with hand: " + (hand.Equals(MLHands.Left) ? "left" : "right")); Inflating = false; if (hand == _inflatingHand && _inflatingBubble != null) { _inflatingBubble.Pop(); _inflatingBubble = null; _inflatingHand = null; } }