public static void FadeOut(this Camera cam, float duration, Action oncomplete = null, Easing.Type easing = Easing.Type.CubicInOut) { CameraCircleFade cf = camFade(cam); cf.Tween(1.4f, 0f, duration, x => cf.radius = x, easing, oncomplete); }
public static void FadeOut(this Camera cam, float duration, Easing.Type easing = Easing.Type.CubicInOut) { CameraCircleFade cf = camFade(cam); cf.Tween(1.2f, 0f, duration, x => cf.radius = x, easing); }