Unity Engine documentationScript ReferenceUnityEngineUnityEngine.RenderingStencilStateenabledControls whether the stencil buffer is enabled.阅读时间1 分钟最后更新于 1 个月前Definition Type: Property Namespace: UnityEngine.Rendering Assembly: UnityEngine.CoreModule public bool enabled { get; set; }