Beispiel #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);
        }
Beispiel #2
0
 public static void StopFollow()
 {
     _follow = null;
 }