public static void FollowTarget(Transform target) { var camera = Camera.main; camera.fieldOfView = Setting.Game.FOV; _follow = new TargetFollow(camera.transform, target, Setting.Game.RelativePosition); }
public static void StopFollow() { _follow = null; }