Exemplo n.º 1
0
    //BonusPuzzleStone

//	int numParticles = 0;
//	public int MaxParticles = 2;

    void onStoneClick(BonusPuzzleStone stone)
    {
//		if (numParticles <= MaxParticles)
//		{
        stone.addParticles();
//			numParticles++;
//		}
    }
    //BonusPuzzleStone

//	int numParticles = 0;
//	public int MaxParticles = 2;

    void onStoneClick(BonusPuzzleStone stone)
    {
        if (m_anim_hand != null && m_anim_hand.activeSelf)
        {
            m_anim_hand.SetActive(false);
        }
//		if (numParticles <= MaxParticles)
//		{
        stone.addParticles();
//			numParticles++;
//		}
    }