UnityEditor.CreateAssetUtility.Clear C# (CSharp) Méthode

Clear() public méthode

public Clear ( ) : void
Résultat void
        public void Clear()
        {
            this.m_EndAction = null;
            this.m_InstanceID = 0;
            this.m_Path = "";
            this.m_Icon = null;
            this.m_ResourceFile = "";
        }

Usage Example

Exemple #1
0
        internal override void OnAwake()
        {
            base.OnAwake();

            // Clear state that should not survive closing/starting Unity (If TreeViewState is in EditorWindow that are serialized in a layout file)
            m_CreateAssetUtility.Clear();
        }