コード例 #1
0
ファイル: GalleryPicker.cs プロジェクト: jerryrox/Renko-L
 /// <summary>
 /// Destroys the resources used by this plugin.
 /// </summary>
 public static void Destroy()
 {
     if (I == null)
     {
         return;
     }
     Destroy(I.gameObject);
     I = null;
 }
コード例 #2
0
ファイル: GalleryPicker.cs プロジェクト: jerryrox/Renko-L
        /// <summary>
        /// Initializes the gallery picker plugin.
        /// </summary>
        public static void Initialize()
        {
            if (I != null)
            {
                return;
            }

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