Spaces:
Sleeping
Sleeping
Update UnityProject/Assets/TestBuilder.cs
Browse files
UnityProject/Assets/TestBuilder.cs
CHANGED
|
@@ -10,11 +10,11 @@ public class TestBuilder
|
|
| 10 |
{
|
| 11 |
try
|
| 12 |
{
|
| 13 |
-
Debug.Log("🛠️ [CLI] Konfigurasi
|
| 14 |
-
//
|
| 15 |
-
PlayerSettings.SetScriptingBackend(BuildTargetGroup.Standalone, ScriptingImplementation.
|
| 16 |
-
PlayerSettings.SetScriptingBackend(BuildTargetGroup.Android, ScriptingImplementation.
|
| 17 |
-
PlayerSettings.SetScriptingBackend(BuildTargetGroup.iOS, ScriptingImplementation.
|
| 18 |
|
| 19 |
string inputPath = "Assets/InputRaw";
|
| 20 |
if (Directory.Exists(inputPath))
|
|
@@ -37,7 +37,6 @@ public class TestBuilder
|
|
| 37 |
AssetDatabase.Refresh();
|
| 38 |
|
| 39 |
Debug.Log("🚀 [CLI] Menjalankan ZepetoPackageCliBuilder...");
|
| 40 |
-
// SDK ZEPETO akan otomatis menggunakan parameter -id dan -password dari CLI
|
| 41 |
ZepetoPackageCliBuilder.BuildWithArgs();
|
| 42 |
|
| 43 |
Debug.Log("✅ [CLI] Build Selesai.");
|
|
|
|
| 10 |
{
|
| 11 |
try
|
| 12 |
{
|
| 13 |
+
Debug.Log("🛠️ [CLI] Konfigurasi Backend: Mono2x...");
|
| 14 |
+
// Perbaikan: Gunakan Mono2x sesuai API Unity 2022.3
|
| 15 |
+
PlayerSettings.SetScriptingBackend(BuildTargetGroup.Standalone, ScriptingImplementation.Mono2x);
|
| 16 |
+
PlayerSettings.SetScriptingBackend(BuildTargetGroup.Android, ScriptingImplementation.Mono2x);
|
| 17 |
+
PlayerSettings.SetScriptingBackend(BuildTargetGroup.iOS, ScriptingImplementation.Mono2x);
|
| 18 |
|
| 19 |
string inputPath = "Assets/InputRaw";
|
| 20 |
if (Directory.Exists(inputPath))
|
|
|
|
| 37 |
AssetDatabase.Refresh();
|
| 38 |
|
| 39 |
Debug.Log("🚀 [CLI] Menjalankan ZepetoPackageCliBuilder...");
|
|
|
|
| 40 |
ZepetoPackageCliBuilder.BuildWithArgs();
|
| 41 |
|
| 42 |
Debug.Log("✅ [CLI] Build Selesai.");
|