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); }
public static void SetupAsLinesFader(int stripes, LinesScreenFader.Direction direction) { FaderFactoryBase factory = new LinesFaderFactory(stripes, direction); instance = factory.CreateFader(instance != null ? instance.gameObject : null); }