Esempio n. 1
0
    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);
    }
Esempio n. 2
0
    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);
    }