Skip to content

Commit c312434

Browse files
committed
增加资源加载方案的名称判断
1 parent 8c64545 commit c312434

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

GameFramework/Runtime/Utility/Utility.cs

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,21 @@ public static string AppVersion
9898
}
9999
}
100100

101+
/// <summary>
102+
/// 资源加载方案
103+
/// </summary>
104+
public static string ResoucePlan
105+
{
106+
get
107+
{
108+
#if ADDRESSABLES_SUPPORT
109+
return "Addressables";
110+
#else
111+
return "AssetBundle";
112+
#endif
113+
}
114+
}
115+
101116
/// <summary>
102117
/// App
103118
/// </summary>

0 commit comments

Comments
 (0)