示例#1
0
        // Token: 0x06004D68 RID: 19816 RVA: 0x0019F428 File Offset: 0x0019D828
        private void SetEyeLookTarget(VRC_PlayerApi p, bool forceCam)
        {
            EyeLookController componentInChildren = p.gameObject.GetComponentInChildren <EyeLookController>();

            if (componentInChildren == null)
            {
                return;
            }
            EyeAndHeadAnimator componentInChildren2 = p.gameObject.GetComponentInChildren <EyeAndHeadAnimator>();

            if (componentInChildren2 == null)
            {
                return;
            }
            if (forceCam)
            {
                componentInChildren.SetPhotoMode(base.transform);
            }
            else
            {
                componentInChildren.SetDefaultMode();
            }
        }