UnityEditor.PackageImport.DestroyCreatedIcons C# (CSharp) Метод

DestroyCreatedIcons() приватный Метод

private DestroyCreatedIcons ( ) : void
Результат void
        private void DestroyCreatedIcons()
        {
            if (s_Preview != null)
            {
                UnityEngine.Object.DestroyImmediate(s_Preview);
                s_Preview = null;
                s_LastPreviewPath = null;
            }
            if (s_PackageIcon != null)
            {
                UnityEngine.Object.DestroyImmediate(s_PackageIcon);
                s_PackageIcon = null;
            }
        }