Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Jul 11, 2023. It is now read-only.

Commit c312434

Browse files
增加资源加载方案的名称判断
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)

AltStyle によって変換されたページ (->オリジナル) /