24 lines
753 B
C#
Raw Normal View History

2019-09-27 18:08:18 +02:00
using System;
namespace UnityAtoms
{
/// <summary>
/// Internal constant and static readonly members for runtime usage.
/// </summary>
2019-10-01 17:27:22 +02:00
public static class Runtime
2019-09-27 18:08:18 +02:00
{
2019-10-15 02:08:41 +02:00
/// <summary>
/// Runtime constants
/// </summary>
2019-10-01 17:27:22 +02:00
public static class Constants
2019-09-27 18:08:18 +02:00
{
/// <summary>
/// Prefix that should be pre-pended to all Debug.Logs made from UnityAtoms to help immediately inform
/// a user that those logs are made from this library.
/// </summary>
public const string LOG_PREFIX = "UnityAtoms :: ";
}
2019-10-02 17:21:27 +02:00
public static bool IsUnityAtomsRepo { get => System.Environment.CurrentDirectory.Contains("unity-atoms/Examples"); }
2019-09-27 18:08:18 +02:00
}
}