Class SettingsProxy
Content proxy for json settings assets (e.g GameSettings or TimeSettings).
Inheritance
System.Object
FlaxEditor.Content.ContentProxy
FlaxEditor.Content.AssetProxy
SettingsProxy
Namespace: FlaxEditor.Content
Assembly: FlaxEngine.CSharp.dll
Syntax
[ContentContextMenu("New/Settings")]
public class SettingsProxy : JsonAssetProxy
Constructors
SettingsProxy(Type, SpriteHandle)
Initializes a new instance of the SettingsProxy class.
Declaration
public SettingsProxy(Type type, SpriteHandle thumbnail)
Parameters
System.Type
type
The settings asset type (must be subclass of SettingsBase type). |
SpriteHandle
thumbnail
Asset icon. |
Properties
Name
Declaration
public override string Name { get; }
Property Value
System.String
|
Overrides
Type
Gets the settings type.
Declaration
public Type Type { get; }
Property Value
System.Type
|
TypeName
Declaration
public override string TypeName { get; }
Property Value
System.String
|
Overrides
FlaxEditor.Content.AssetProxy.TypeName
Methods
CanCreate(ContentFolder)
Declaration
public override bool CanCreate(ContentFolder targetLocation)
Parameters
FlaxEditor.Content.ContentFolder
targetLocation
|
Returns
System.Boolean
|
Overrides
FlaxEditor.Content.ContentProxy.CanCreate(FlaxEditor.Content.ContentFolder)
ConstructItem(String, String, ref Guid)
Declaration
public override AssetItem ConstructItem(string path, string typeName, ref Guid id)
Parameters
System.String
path
|
System.String
typeName
|
System.Guid
id
|
Returns
FlaxEditor.Content.AssetItem
|
Overrides
Create(String, Object)
Declaration
public override void Create(string outputPath, object arg)
Parameters
System.String
outputPath
|
System.Object
arg
|
Overrides
FlaxEditor.Content.ContentProxy.Create(System.String, System.Object)
IsProxyFor<T>()
Declaration
public override bool IsProxyFor<T>()
where T : Asset
Returns
System.Boolean
|
Type Parameters
T
|
Overrides
FlaxEditor.Content.ContentProxy.IsProxyFor<T>()