void SpawnTouchHand(Touch t) { NewHand hand = Instantiate(m_HandPrefab); hand.m_FingerID = t.fingerId; // Debug.Log("Spawning hand. FINGER ID: " + t.fingerId); }
public bool HitMe(Deck deck) { NewHand.Add(deck.DealOne()); if (HandValue >= 21) { return(false); } else { return(true); } }
void SpawnHand() { NewHand hand = Instantiate(m_HandPrefab); #if UNITY_EDITOR hand.useMouse = true; #endif // if (NewGameManager.GetInstance().spawnBallsByTouchCount) // { // if (NewBallManager._ballCount < Input.touchCount) // { // EventManager.TriggerEvent("SpawnBall"); // } // } }
// bool EnableLine() // { // return m_Ball.m_IsHeld || m_gotThrown || m_Ball.m_BallThrown; // } public void SetHand(NewHand hand) { m_Hand = hand; m_LineStartPosition = transform.position; }
public bool GetHand(Deck deck) { NewHand.Add(deck.DealOne()); NewHand.Add(deck.DealOne()); return(true); }