/// <summary> /// Destroys the resources used by this plugin. /// </summary> public static void Destroy() { if (I == null) { return; } Destroy(I.gameObject); I = null; }
/// <summary> /// Initializes the gallery picker plugin. /// </summary> public static void Initialize() { if (I != null) { return; } I = RenkoLibrary.CreateModule <GalleryPicker>(); SetupPlugin(); }