文章

顯示從 3月, 2022 起發佈的文章

HideFlags在Unity中的应用

HideFlags的作用(来自UnityEngine官方注释): public enum HideFlags { // // Summary: // A normal, visible object. This is the default. None = 0x0, // // Summary: // The object will not appear in the hierarchy. HideInHierarchy = 0x1, // // Summary: // It is not possible to view it in the inspector. HideInInspector = 0x2, // // Summary: // The object will not be saved to the scene in the editor. DontSaveInEditor = 0x4, // // Summary: // The object is not be editable in the inspector. NotEditable = 0x8, // // Summary: // The object will not be saved when building a player. DontSaveInBuild = 0x10, // // Summary: // The object will not be unloaded by Resources.UnloadUnusedAssets. DontUnloadUnusedAsset = 0x20, // // Summary: //