예제 #1
0
        public static void FollowTarget(Transform target)
        {
            var camera = Camera.main;

            camera.fieldOfView = Setting.Game.FOV;
            _follow            = new TargetFollow(camera.transform, target, Setting.Game.RelativePosition);
        }
예제 #2
0
 public static void StopFollow()
 {
     _follow = null;
 }