Init() private method

private Init ( string packagePath, AssetsItem items, string packageIconPath ) : void
packagePath string
items AssetsItem
packageIconPath string
return void
示例#1
0
 public static void ShowImportPackage(string packagePath, ImportPackageItem[] items, string packageIconPath, bool allowReInstall)
 {
     if (PackageImport.ValidateInput(items))
     {
         PackageImport window = EditorWindow.GetWindow <PackageImport>(true, "Import Unity Package");
         window.Init(packagePath, items, packageIconPath, allowReInstall);
     }
 }
示例#2
0
        public static void ShowImportPackage(string packagePath, AssetsItem[] items, string packageIconPath)
        {
            if (!PackageImport.ValidateInput(items))
            {
                return;
            }
            PackageImport window = EditorWindow.GetWindow <PackageImport>(true, "Importing package");

            window.Init(packagePath, items, packageIconPath);
        }
示例#3
0
 private void ShowImportWindow(ImportPackageItem[] items)
 {
     m_ImportWindow = PackageImport.GetWindow <PackageImport>(true, "Import Unity Package");
     m_ImportWindow.Init(m_PackagePath, items, m_PackageIconPath);
 }