public IEnumerator IsHitByFireBreathCoroutine() { b_PhysicsBehavior.SetCanMove(false); mHP -= 3; if (mHP < 0) { Object.Destroy(mGameObject); } yield return(new WaitForSeconds(0.05f)); yield return(new WaitForSeconds(1.5f)); b_PhysicsBehavior.SetCanMove(true); }
public void SetCanMove(bool _canMove) { b_PhysicsBehavior.SetCanMove(_canMove); }