| | |
| | | [CreateAssetMenu(menuName = "Config/VersionConfig")]
|
| | | public class VersionConfig : ScriptableObject
|
| | | {
|
| | | public const string VERSION_ALTERNATIVE = "0.0.0";
|
| | | public const string VERSION_ALTERNATIVE = "1.2.0";
|
| | |
|
| | | [SerializeField] public string m_AppId = string.Empty;
|
| | | public string appId { get { return m_AppId; } }
|
| | |
| | | [ContextMenu("Apply")]
|
| | | public void Apply()
|
| | | {
|
| | | var newVersionConfigPath = StringUtility.Contact("Assets/Resources/ScriptableObject/Config/VersionConfig", ".asset");
|
| | | var newVersionConfigPath = "Assets/Resources/VersionConfig.asset";
|
| | |
|
| | | var fromVersionConfig = this;
|
| | | var newVersionConfig = ScriptableObject.CreateInstance<VersionConfig>();
|
| | |
| | | {
|
| | | if (config == null)
|
| | | {
|
| | | config = Resources.Load<VersionConfig>("ScriptableObject/Config/VersionConfig");
|
| | | config = Resources.Load<VersionConfig>("VersionConfig");
|
| | | }
|
| | |
|
| | | return config;
|