Example #1
0
        private void Start()
        {
            calculator = new LookAroundCalculator();

            // ใƒ†ใ‚นใƒˆ็”จ
            HorizontalSensitivity = 5f;
            VerticalSensitivity   = 5f;
        }
Example #2
0
 private void FixedUpdate()
 {
     LookAroundCalculator.AntiTiltRotate(this.gameObject, horizontalRotation, 0f);
     LookAroundCalculator.AntiTiltRotate(face.gameObject, 0, verticalRotation);
 }