ISAP/Assets/Plugins/crosstales/RTVoice/Editor/Util/EditorConstants.cs

58 lines
1.9 KiB
C#

#if UNITY_EDITOR
namespace Crosstales.RTVoice.EditorUtil
{
/// <summary>Collected constants of very general utility for the asset.</summary>
public static class EditorConstants
{
#region Constant variables
// Keys for the configuration of the asset
public const string KEY_UPDATE_CHECK = Util.Constants.KEY_PREFIX + "UPDATE_CHECK";
public const string KEY_COMPILE_DEFINES = Util.Constants.KEY_PREFIX + "COMPILE_DEFINES";
public const string KEY_PREFAB_AUTOLOAD = Util.Constants.KEY_PREFIX + "PREFAB_AUTOLOAD";
public const string KEY_HIERARCHY_ICON = Util.Constants.KEY_PREFIX + "HIERARCHY_ICON";
public const string KEY_UPDATE_DATE = Util.Constants.KEY_PREFIX + "UPDATE_DATE";
// Default values
public const string DEFAULT_ASSET_PATH = "/Plugins/crosstales/RTVoice/";
public const bool DEFAULT_UPDATE_CHECK = false;
public const bool DEFAULT_COMPILE_DEFINES = true;
public const bool DEFAULT_PREFAB_AUTOLOAD = false;
public const bool DEFAULT_HIERARCHY_ICON = false;
#endregion
#region Changable variables
// Technical settings
/// <summary>Sub-path to the prefabs.</summary>
public static string PREFAB_SUBPATH = "Resources/Prefabs/";
#endregion
#region Properties
/// <summary>Returns the URL of the asset in UAS.</summary>
/// <returns>The URL of the asset in UAS.</returns>
public static string ASSET_URL => Util.Constants.ASSET_PRO_URL;
/// <summary>Returns the ID of the asset in UAS.</summary>
/// <returns>The ID of the asset in UAS.</returns>
public static string ASSET_ID => "41068";
/// <summary>Returns the UID of the asset.</summary>
/// <returns>The UID of the asset.</returns>
public static System.Guid ASSET_UID => new System.Guid("181f4dab-261f-4746-85f8-849c2866d353");
#endregion
}
}
#endif
// © 2015-2020 crosstales LLC (https://www.crosstales.com)