UnityEditor.Unsupported.SmartReset C# (CSharp) Method

SmartReset() private method

private SmartReset ( Object obj ) : void
obj Object
return void
        public static extern void SmartReset(Object obj);
        [MethodImpl(MethodImplOptions.InternalCall)]

Usage Example

示例#1
0
 void ResetLightingSettings(object userData, string[] options, int selected)
 {
     if (Lightmapping.lightingSettingsInternal != null)
     {
         Undo.RecordObjects(new[] { Lightmapping.lightingSettingsInternal }, "Reset Lighting Settings");
         Unsupported.SmartReset(Lightmapping.lightingSettingsInternal);
     }
 }
All Usage Examples Of UnityEditor.Unsupported::SmartReset