Class Preset
Assembly: UnityEditor.dll
Syntax
public sealed class Preset : Object
Constructors
|
Improve this Doc
View Source
Preset(Object)
Declaration
public Preset(Object source)
Parameters
Type |
Name |
Description |
Object |
source |
|
Properties
PropertyModifications
Declaration
public PropertyModification[] PropertyModifications { get; }
Property Value
Methods
|
Improve this Doc
View Source
ApplyTo(Object)
Declaration
public bool ApplyTo(Object target)
Parameters
Type |
Name |
Description |
Object |
target |
|
Returns
ApplyTo(Object, String[])
Declaration
public bool ApplyTo(Object target, string[] selectedPropertyPaths)
Parameters
Type |
Name |
Description |
Object |
target |
|
String[] |
selectedPropertyPaths |
|
Returns
CanBeAppliedTo(Object)
Declaration
public bool CanBeAppliedTo(Object target)
Parameters
Type |
Name |
Description |
Object |
target |
|
Returns
DataEquals(Object)
Declaration
public bool DataEquals(Object target)
Parameters
Type |
Name |
Description |
Object |
target |
|
Returns
GetDefaultForObject(Object)
Declaration
public static Preset GetDefaultForObject(Object target)
Parameters
Type |
Name |
Description |
Object |
target |
|
Returns
GetDefaultForPreset(Preset)
Declaration
public static Preset GetDefaultForPreset(Preset preset)
Parameters
Type |
Name |
Description |
Preset |
preset |
|
Returns
GetTargetFullTypeName()
Declaration
public string GetTargetFullTypeName()
Returns
|
Improve this Doc
View Source
GetTargetTypeName()
Declaration
public string GetTargetTypeName()
Returns
IsObjectExcludedFromDefaultPresets(Object)
Declaration
public static bool IsObjectExcludedFromDefaultPresets(Object target)
Parameters
Type |
Name |
Description |
Object |
target |
|
Returns
IsObjectExcludedFromPresets(Object)
Declaration
public static bool IsObjectExcludedFromPresets(Object reference)
Parameters
Type |
Name |
Description |
Object |
reference |
|
Returns
IsPresetExcludedFromDefaultPresets(Preset)
Declaration
public static bool IsPresetExcludedFromDefaultPresets(Preset preset)
Parameters
Type |
Name |
Description |
Preset |
preset |
|
Returns
IsValid()
Declaration
Returns
RemoveFromDefault(Preset)
Declaration
public static void RemoveFromDefault(Preset preset)
Parameters
Type |
Name |
Description |
Preset |
preset |
|
SetAsDefault(Preset)
Declaration
public static bool SetAsDefault(Preset preset)
Parameters
Type |
Name |
Description |
Preset |
preset |
|
Returns
UpdateProperties(Object)
Declaration
public bool UpdateProperties(Object source)
Parameters
Type |
Name |
Description |
Object |
source |
|
Returns
Extension Methods