You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

48 lines
1009 B

using UnityEngine;
namespace UltraCombos
{
public class Core
{
public static class Project
{
public static int Serial => 25014;
}
#if UNITY_EDITOR
public static string OutputFolderName
{
get
{
return $"{UnityEditor.PlayerSettings.productName.Replace(" ", "")}";
}
}
#endif
public static string BuildPath
{
get
{
#if UNITY_EDITOR
var path = $"{Application.dataPath}/../../../../Deploy/Build-{OutputFolderName}";
#else
#if UNITY_STANDALONE
var path = $"{Application.dataPath}/../..";
#else
var path = $"{Application.persistentDataPath}";
#endif
#endif
var dir = new System.IO.DirectoryInfo(path);
return dir.FullName;
}
}
public static string MaterialPath
{
get { return $"{BuildPath}/Material"; }
}
}
}