예제 #1
0
    public void DVaChangeToPose3(bool value)
    {
        if (value)
        {
            DVaAnimator.SetBool("DVapose1isTicked", false);
            DVaAnimator.SetBool("DVapose2isTicked", false);
            DVaAnimator.SetBool("DVapose3isTicked", true);

            DVaPistolPose1.SetActive(false);
            DVaMechPose2.SetActive(false);
            DVaMechPose3.SetActive(true);

            this.transform.rotation = Quaternion.Euler(0f, 180, 0f);
            pose3isTicked           = true;
        }
    }
예제 #2
0
 void Start()
 {
     DVaPistolPose1.SetActive(true);
     DVaMechPose2.SetActive(false);
     DVaMechPose3.SetActive(false);
 }