Initial commit: AIGame Unity client with URP, HybridCLR, YooAsset and tooling.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
udx
2026-09-21 14:21:07 +08:00
co-authored by Cursor
commit f3f66ab063
931 changed files with 112366 additions and 0 deletions
@@ -0,0 +1,26 @@
import os
import sys
import unittest
sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
from bl_decimate import model_format
class ModelFormatTests(unittest.TestCase):
def test_fbx(self):
self.assertEqual(model_format("asset.FBX"), "fbx")
def test_glb(self):
self.assertEqual(model_format("asset.GLB"), "gltf")
def test_gltf(self):
self.assertEqual(model_format("asset.gltf"), "gltf")
def test_unsupported(self):
with self.assertRaisesRegex(ValueError, "unsupported model format"):
model_format("asset.obj")
if __name__ == "__main__":
unittest.main()