Files
plugin-library/Assets/00.StaryEvoTools/Editor/HotfixMainResDomainEditor.cs

18 lines
528 B
C#
Raw Normal View History

using Sirenix.OdinInspector.Editor;
2025-07-02 16:28:08 +08:00
using Stary.Evo;
using UnityEditor;
[CustomEditor(typeof(HotfixMainResDomain))]
public class HotfixMainResDomainEditor : OdinEditor
2025-07-02 16:28:08 +08:00
{
public override void OnInspectorGUI()
{
base.OnInspectorGUI();
var config = (HotfixMainResDomain)target;
config.projectInfo.loadingScenePath = AssetDatabase.GetAssetPath(config.projectInfo.loadingScene);
config.projectInfo.projectPackageName = $"com.xosmo.{config.projectInfo.projectCode}";
2025-07-02 16:28:08 +08:00
}
}