Ejemplo n.º 1
0
 /// <summary>
 /// Destroys the resources used by this plugin.
 /// </summary>
 public static void Destroy()
 {
     if (I == null)
     {
         return;
     }
     Destroy(I.gameObject);
     I = null;
 }
Ejemplo n.º 2
0
        /// <summary>
        /// Initializes the gallery picker plugin.
        /// </summary>
        public static void Initialize()
        {
            if (I != null)
            {
                return;
            }

            I = RenkoLibrary.CreateModule <GalleryPicker>();
            SetupPlugin();
        }