private void PrimitiveScript_OnCollisionBarrier(PrimitiveScript obj) { if (_Count > 0) { _Count--; } }
private void PrimitiveScript_OnCollisionBunus(PrimitiveScript obj) { _Count++; if (_Count >= 10) { Level2(); } }
private void PrimitiveScript_OnCollisionBarrier(PrimitiveScript obj) { if (_AnimPlay == null) { _IsTake = false; anim.SetBool("Fall", true); _AnimPlay = new object(); } }
private void PrimitiveScript_OnCollisionBunus(PrimitiveScript obj) { txt.text = "Count:" + GameController.instance._Count.ToString(); }