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"; } } } }