Пример #1
0
    void Start()
    {
        Jacket.SetActive(jacketEnabled);
        Pants.SetActive(pantsEnabled);
        Belt.SetActive(beltEnabled);
        Shoes.SetActive(shoesEnabled);

        ZoeyGunLPose1.SetActive(true);
        ZoeyGunRPose1.SetActive(true);
        ZoeyGunRPose2.SetActive(false);
    }
Пример #2
0
    public void ZoeyChangeToPose2(bool value)
    {
        if (value)
        {
            ZoeyAnimator.SetBool("Zoeypose1isTicked", false);
            ZoeyAnimator.SetBool("Zoeypose2isTicked", true);
            ZoeyAnimator.SetBool("Zoeypose3isTicked", false);

            ZoeyGunLPose1.SetActive(false);
            ZoeyGunRPose1.SetActive(false);
            ZoeyGunRPose2.SetActive(true);
        }
    }