Namespace: | Sirenix.Utilities |
Assembly: | Sirenix.Utilities |
[AttributeUsage(AttributeTargets.Class)]
public class GlobalConfigAttribute : Attribute, _Attribute
This attribute is used by classes deriving from GlobalConfig and specifies the asset path for the generated config file.
public GlobalConfigAttribute()
public GlobalConfigAttribute(string assetPath)
System.String | assetPath | The relative asset. Remember to locate the path within a resources folder if you want the config file to be loaded at runtime without the Unity Editor. |
public string AssetPath { get; }
public bool IsInResourcesFolder { get; }
public string ResourcesPath { get; }