Esempio n. 1
0
    public static void SetupAsLinesFader(LinesScreenFader.Direction direction, params Texture[] images)
    {
        FaderFactoryBase factory = new LinesFaderFactory(images.Length, direction, images);

        instance = factory.CreateFader(instance != null ? instance.gameObject : null);
    }
Esempio n. 2
0
    public static void SetupAsLinesFader(int stripes, LinesScreenFader.Direction direction)
    {
        FaderFactoryBase factory = new LinesFaderFactory(stripes, direction);

        instance = factory.CreateFader(instance != null ? instance.gameObject : null);
    }