using System;
namespace UnityAtoms
{
///
/// Internal constant and static readonly members for runtime usage.
///
public static class Runtime
{
///
/// Runtime constants
///
public static class Constants
{
///
/// 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.
///
public const string LOG_PREFIX = "UnityAtoms :: ";
}
///
/// Determine if we are working the Unity Atoms source library / repo or not.
///
/// `true` if we are working in the Unity Atoms source library / repo, otherwise `false`.
public static bool IsUnityAtomsRepo
{
get => System.Environment.CurrentDirectory.Contains("unity-atoms/Examples");
}
}
}