Skip to content

Commit bd8ba8d

Browse files
committed
Add webgl build for unity
1 parent b212c7c commit bd8ba8d

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

src/pages/quick-start/builder/choices.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ export const ANGULAR = "ANGULAR";
3333
export const HTML = "HTML";
3434
export const ANDROID = "ANDROID";
3535
export const IOS = "IOS";
36+
export const WEBGL = "WEBGL";
3637
export const REACT_NATIVE = "REACT_NATIVE";
3738
export const FLUTTER = "FLUTTER";
3839
export const UNITY = "UNITY";
@@ -77,6 +78,7 @@ export const LANGS_WEB_MPC_CORE_KIT: DisplayChoice[] = [
7778

7879
const android = { key: ANDROID, displayName: "Android" };
7980
const ios = { key: IOS, displayName: "iOS/Swift" };
81+
const webgl = { key: WEBGL, displayName: "WebGL" };
8082

8183
export const LANGS_ANDROID: DisplayChoice[] = [android];
8284

@@ -86,7 +88,7 @@ export const LANGS_REACT_NATIVE: DisplayChoice[] = [ios, android];
8688

8789
export const LANGS_FLUTTER: DisplayChoice[] = [android, ios];
8890

89-
export const LANGS_UNITY: DisplayChoice[] = [android, ios];
91+
export const LANGS_UNITY: DisplayChoice[] = [android, ios, webgl];
9092

9193
export const LANGS_NODE: DisplayChoice[] = [{ key: NODE, displayName: "NodeJS" }];
9294

src/pages/quick-start/builder/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ const sdks = {
8383
// PNP Unity SDK
8484
PNP_UNITY_ANDROID: pnp_unity,
8585
PNP_UNITY_IOS: pnp_unity,
86+
PNP_UNITY_WEBGL: pnp_unity,
8687
// SFA Web SDK
8788
SFA_WEB_ANGULAR: sfa_web_angular,
8889
SFA_WEB_NEXTJS: sfa_web_nextjs,
@@ -135,6 +136,7 @@ const embed_links = {
135136
// PNP Unity SDK
136137
PNP_UNITY_ANDROID: "https://w3a.link/pnp-unity-android-quick-start",
137138
PNP_UNITY_IOS: "", // "https://w3a.link/pnp-unity-ios-quick-start"
139+
PNP_UNITY_WEBGL: "https://w3a.link/pnp-unity-webgl-quick-start",
138140
// SFA Web SDK
139141
SFA_WEB_ANGULAR: "https://w3a.link/sfa-angular-quick-start",
140142
SFA_WEB_NEXTJS: "https://w3a.link/sfa-nextjs-quick-start",

0 commit comments

Comments
 (0)