예제 #1
0
    void FixedUpdate()
    {
        if (rush)
        {
            if (transform.root.tag == "Player")
            {
                Action2(true, 0);

                character.Run(transform.forward.z * speed);
            }
            else
            {
                Action2(false, 0);
            }
        }
    }