chore: sync project assets and ignore generated caches

This commit is contained in:
2026-04-03 13:25:14 +08:00
parent a05d0b80a2
commit da157de59a
38 changed files with 340 additions and 169 deletions

2
.gitignore vendored
View File

@@ -3,6 +3,8 @@ build2/
bin/
!engine/third_party/assimp/bin/
Release/
project/Library/
project/.xceditor/thumbs/
*.exe
*.obj
!tests/fixtures/Resources/Mesh/*.obj

View File

@@ -1,47 +1,47 @@
[Window][Hierarchy]
Pos=0,33
Size=189,758
Pos=0,65
Size=435,735
Collapsed=0
DockId=0x00000003
[Window][Scene]
Pos=191,33
Size=1702,758
Pos=437,65
Size=1311,735
Collapsed=0
DockId=0x00000005
DockId=0x00000004
[Window][Game]
Pos=191,33
Size=1702,758
Pos=437,65
Size=1311,735
Collapsed=0
DockId=0x00000005
DockId=0x00000004
[Window][Inspector]
Pos=1895,33
Size=665,758
Pos=1750,65
Size=810,1286
Collapsed=0
DockId=0x00000006
[Window][Console]
Pos=0,793
Size=2560,558
Pos=0,802
Size=1748,549
Collapsed=0
DockId=0x00000002
[Window][Project]
Pos=0,793
Size=2560,558
Pos=0,802
Size=1748,549
Collapsed=0
DockId=0x00000002
[Window][MainDockspace]
Pos=0,0
Size=2560,1351
Pos=0,65
Size=2560,1286
Collapsed=0
[Window][Debug##Default]
Pos=48,48
Size=320,320
Pos=37,37
Size=255,255
Collapsed=0
[Window][##MainMenuBar]
@@ -54,11 +54,11 @@ Size=440,110
Collapsed=0
[Docking][Data]
DockSpace ID=0xA11B73D6 Window=0x1C358F53 Pos=0,33 Size=2560,1318 Split=Y
DockNode ID=0x00000001 Parent=0xA11B73D6 SizeRef=1262,758 Split=X
DockNode ID=0x00000003 Parent=0x00000001 SizeRef=189,503 NoTabBar=1 NoWindowMenuButton=1 NoCloseButton=1 Selected=0xBABDAE5E
DockNode ID=0x00000004 Parent=0x00000001 SizeRef=1071,503 Split=X
DockNode ID=0x00000005 Parent=0x00000004 SizeRef=1702,503 CentralNode=1 NoTabBar=1 NoWindowMenuButton=1 NoCloseButton=1 Selected=0xE601B12F
DockNode ID=0x00000006 Parent=0x00000004 SizeRef=665,503 NoTabBar=1 NoWindowMenuButton=1 NoCloseButton=1 Selected=0x36DC96AB
DockNode ID=0x00000002 Parent=0xA11B73D6 SizeRef=1262,558 NoTabBar=1 NoWindowMenuButton=1 NoCloseButton=1 Selected=0x9C21DE82
DockSpace ID=0xA11B73D6 Window=0x1C358F53 Pos=0,65 Size=2560,1286 Split=X
DockNode ID=0x00000005 Parent=0xA11B73D6 SizeRef=1748,640 Split=Y
DockNode ID=0x00000001 Parent=0x00000005 SizeRef=1262,735 Split=X
DockNode ID=0x00000003 Parent=0x00000001 SizeRef=435,503 NoTabBar=1 NoWindowMenuButton=1 NoCloseButton=1 Selected=0xBABDAE5E
DockNode ID=0x00000004 Parent=0x00000001 SizeRef=1311,503 CentralNode=1 NoTabBar=1 NoWindowMenuButton=1 NoCloseButton=1 Selected=0xE601B12F
DockNode ID=0x00000002 Parent=0x00000005 SizeRef=1262,549 NoTabBar=1 NoWindowMenuButton=1 NoCloseButton=1 Selected=0xEA83D666
DockNode ID=0x00000006 Parent=0xA11B73D6 SizeRef=810,640 NoTabBar=1 NoWindowMenuButton=1 NoCloseButton=1 Selected=0x36DC96AB

5
project/Assets.meta Normal file
View File

@@ -0,0 +1,5 @@
fileFormatVersion: 1
guid: 96666a186a717b84e90236ea2978d91f
folderAsset: true
importer: FolderImporter
importerVersion: 3

View File

@@ -0,0 +1,5 @@
fileFormatVersion: 1
guid: 9b99cbc7c30f5a7bbf6e5cc49690e2e7
folderAsset: true
importer: FolderImporter
importerVersion: 3

View File

@@ -0,0 +1,5 @@
fileFormatVersion: 1
guid: 7ad7534fed3a73dfeb84739d0d3aef92
folderAsset: true
importer: FolderImporter
importerVersion: 3

View File

@@ -0,0 +1,5 @@
fileFormatVersion: 1
guid: ea210ba93a7a93260ae13bc84508bbe3
folderAsset: true
importer: FolderImporter
importerVersion: 3

View File

@@ -0,0 +1,5 @@
fileFormatVersion: 1
guid: 7eedc507fd8709abb2b19af32a52ab21
folderAsset: false
importer: TextureImporter
importerVersion: 3

View File

@@ -0,0 +1,5 @@
fileFormatVersion: 1
guid: 5efa3f1aa5ce5981cbbefe56c8f97128
folderAsset: false
importer: DefaultImporter
importerVersion: 3

View File

@@ -0,0 +1,5 @@
fileFormatVersion: 1
guid: 17cce01b8a084a5cdf1c79382a46c31f
folderAsset: false
importer: ModelImporter
importerVersion: 3

View File

@@ -0,0 +1,5 @@
fileFormatVersion: 1
guid: 003ee132378579f4bfc59b39cf8e8d51
folderAsset: false
importer: TextureImporter
importerVersion: 3

View File

@@ -0,0 +1,5 @@
fileFormatVersion: 1
guid: e94d89b26d6e920e2e73cb96d3beddbd
folderAsset: false
importer: TextureImporter
importerVersion: 3

View File

@@ -0,0 +1,5 @@
fileFormatVersion: 1
guid: c98fc6424b69b1a41adc91eabc2e82bd
folderAsset: false
importer: TextureImporter
importerVersion: 3

View File

@@ -0,0 +1,5 @@
fileFormatVersion: 1
guid: 26aa3d5b0d4e0320a5286c0cc5a76c46
folderAsset: false
importer: DefaultImporter
importerVersion: 3

View File

@@ -0,0 +1,5 @@
fileFormatVersion: 1
guid: bac31a87fc5da61d66e2de6841990bb1
folderAsset: false
importer: TextureImporter
importerVersion: 3

View File

@@ -0,0 +1,5 @@
fileFormatVersion: 1
guid: f71b79031c740f9b741806bfa53559b4
folderAsset: true
importer: FolderImporter
importerVersion: 3

View File

@@ -0,0 +1,5 @@
fileFormatVersion: 1
guid: a4e3c373e0249858d6320b03624b430d
folderAsset: true
importer: FolderImporter
importerVersion: 3

View File

@@ -0,0 +1,17 @@
{
"renderQueue": "background",
"renderState": {
"cull": "none",
"depthTest": true,
"depthWrite": true,
"depthFunc": "less",
"blendEnable": false,
"srcBlend": "one",
"dstBlend": "zero",
"srcBlendAlpha": "one",
"dstBlendAlpha": "zero",
"blendOp": "add",
"blendOpAlpha": "subtract",
"colorWriteMask": 15
}
}

View File

@@ -0,0 +1,5 @@
fileFormatVersion: 1
guid: 9a608ceb121dae614903368e56e8e049
folderAsset: false
importer: MaterialImporter
importerVersion: 3

View File

@@ -1,30 +0,0 @@
# XCEngine Scene File
scene=Main Scene
active=1
gameobject_begin
id=1
name=Main Camera
active=1
parent=0
transform=position=0,0,0;rotation=0,0,0,1;scale=1,1,1;
component=Camera;projection=0;fov=60;orthoSize=5;near=0.1;far=1000;depth=0;primary=1;clearColor=0.192,0.302,0.475,1;
gameobject_end
gameobject_begin
id=2
name=Directional Light
active=1
parent=0
transform=position=0,0,0;rotation=0,0,0,1;scale=1,1,1;
component=Light;type=0;color=0.612565,0.327129,0.327129,1;intensity=4;range=0.001;spotAngle=30;shadows=0;
gameobject_end
gameobject_begin
id=3
name=GameObject
active=1
parent=0
transform=position=0,0,0;rotation=0,0,0,1;scale=1,1,1;
gameobject_end

View File

@@ -1,54 +0,0 @@
# XCEngine Scene File
scene=Main Scene
active=1
gameobject_begin
id=2
uuid=10036986138272728490
name=4
active=1
parent=0
transform=position=0,0,0;rotation=0,0,0,1;scale=1,1,1;
component=Light;type=0;color=0.612565,0.327129,0.327129,1;intensity=15.4;range=0.001;spotAngle=30;shadows=0;
component=Camera;projection=0;fov=123.4;orthoSize=12.1;near=1.86;far=1030.1;depth=9.5;primary=1;clearColor=0.192,0.302,0.475,1;
gameobject_end
gameobject_begin
id=3
uuid=14971148148602552176
name=GameObject
active=1
parent=0
transform=position=0,0,0;rotation=-0.257926,-0.0205041,0.160241,0.952563;scale=2.4,3.6,1;
component=Light;type=0;color=1,1,1,1;intensity=13.6;range=10;spotAngle=30;shadows=1;
component=Camera;projection=0;fov=69.3;orthoSize=5;near=0.001;far=1001.9;depth=5.4;primary=1;clearColor=0.38882,0.493362,0.657778,1;
gameobject_end
gameobject_begin
id=10
uuid=198935724730254930
name=Light
active=1
parent=0
transform=position=0,-1.9,0;rotation=0.0670541,0.137716,0.0909146,0.984008;scale=1,1,1;
gameobject_end
gameobject_begin
id=1
uuid=8308231963777163730
name=Main Camera
active=1
parent=10
transform=position=-4.7,0,0;rotation=-0.257815,-0.140875,-0.220134,0.930176;scale=4.7,2.8,1;
gameobject_end
gameobject_begin
id=11
uuid=15155914862689195892
name=GameObject
active=1
parent=0
transform=position=0,0,0;rotation=0,0,0,1;scale=1,1,1;
component=Camera;projection=0;fov=47.7;orthoSize=5;near=0.67;far=991.2;depth=0;primary=1;clearColor=0.192,0.302,0.475,1;
component=Light;type=1;color=0.662222,0.170706,0.170706,1;intensity=1;range=10;spotAngle=30;shadows=0;
gameobject_end

View File

@@ -1,13 +0,0 @@
# XCEngine Scene File
scene=Untitled Scene
active=1
gameobject_begin
id=4
name=GameObject
active=1
parent=0
transform=position=0,0,0;rotation=0.0087262,0.0087262,-7.61524e-05,0.999924;scale=1,1,1;
component=Camera;projection=1;fov=60;orthoSize=0.001;near=0.001;far=0.002;depth=-2;primary=1;clearColor=0.192,0.302,0.475,1;
gameobject_end

View File

@@ -0,0 +1,5 @@
fileFormatVersion: 1
guid: 95bf8c50b9011ec0375cd185053068c9
folderAsset: true
importer: FolderImporter
importerVersion: 3

View File

@@ -0,0 +1,57 @@
# XCEngine Scene File
scene=Main Scene
active=1
gameobject_begin
id=1
uuid=11806343893082442755
name=Main Camera
active=1
parent=0
transform=position=1.24194,0,-5.54416;rotation=0,0,0,1;scale=1,1,1;
component=Camera;projection=0;fov=60.7089;orthoSize=5;near=0.001;far=102.9;depth=1.6;primary=1;clearMode=0;stackType=0;cullingMask=4294967295;viewportRect=0,0,1,1;clearColor=0,0,0,1;
gameobject_end
gameobject_begin
id=20
uuid=8649195733451829943
name=GameObject
active=1
parent=0
transform=position=-3.68003,0.160159,0.360709;rotation=0,0,0,1;scale=1,1,1;
component=MeshFilter;meshRef=17cce01b8a084a5cdf1c79382a46c31f,1,2;
component=MeshRenderer;materialPaths=;materialRefs=;castShadows=1;receiveShadows=1;renderLayer=0;
gameobject_end
gameobject_begin
id=29
uuid=16627428025886468363
name=Light
active=1
parent=0
transform=position=0,3.00762,3.94704;rotation=0.394142,-0.000640735,-0.0613786,0.916998;scale=1,1,1;
component=Light;type=0;color=1,1,1,1;intensity=1;range=10;spotAngle=30;shadows=0;
gameobject_end
gameobject_begin
id=75
uuid=5125863825480013902
name=Cube
active=1
parent=0
transform=position=5.97411,0,0;rotation=0,0,0,1;scale=1,1,1;
component=MeshFilter;meshRef=;meshPath=builtin://meshes/cube;
component=MeshRenderer;materialPaths=builtin://materials/default-primitive;materialRefs=;castShadows=1;receiveShadows=1;renderLayer=0;
gameobject_end
gameobject_begin
id=79
uuid=14087659263782399666
name=GameObject
active=1
parent=0
transform=position=2.32896,0,-0.076026;rotation=0,0,0,1;scale=1,1,1;
component=MeshFilter;meshRef=17cce01b8a084a5cdf1c79382a46c31f,1,2;
component=MeshRenderer;materialPaths=;materialRefs=;castShadows=1;receiveShadows=1;renderLayer=0;
gameobject_end

View File

@@ -0,0 +1,5 @@
fileFormatVersion: 1
guid: 97d8a1008ece4eab2930a9caf3c11f54
folderAsset: false
importer: DefaultImporter
importerVersion: 3

View File

@@ -3,55 +3,53 @@ scene=Main Scene
active=1
gameobject_begin
id=1
uuid=11806343893082442755
name=Main Camera
id=64
uuid=5744812053316050663
name=Camera
active=1
parent=0
transform=position=-0.352908,0,-3.0611;rotation=0.111657,0.15678,0.890189,-0.412937;scale=1,1,1;
component=Camera;projection=0;fov=60;orthoSize=5;near=1.43;far=1000;depth=0;primary=1;clearMode=0;stackType=0;cullingMask=4294967295;viewportRect=0,0,1,1;clearColor=0,0,0,0.552941;
gameobject_end
gameobject_begin
id=66
uuid=18270436544925411184
name=Light
active=1
parent=0
transform=position=0,3.3245,0;rotation=-0.12466,0.596834,-0.0945426,0.786963;scale=1,1,1;
component=Light;type=0;color=1,1,1,1;intensity=1;range=10;spotAngle=30;shadows=0;
gameobject_end
gameobject_begin
id=87
uuid=9751737136539126565
name=GameObject
active=1
parent=0
transform=position=0,0,0;rotation=-0.345665,0.580459,-0.0801843,-0.732908;scale=1,1,1;
gameobject_end
gameobject_begin
id=89
uuid=3783751572903533469
name=Sphere
active=1
parent=0
transform=position=-0.0171053,0,-0.2493;rotation=0.514887,0.648149,-0.409349,0.383703;scale=1,1,1;
component=MeshFilter;meshRef=;meshPath=builtin://meshes/sphere;
component=MeshRenderer;materialPaths=builtin://materials/default-primitive;materialRefs=;castShadows=1;receiveShadows=1;renderLayer=0;
component=ScriptComponent;scriptComponentUUID=14953097718051232299;assembly=GameScripts;namespace=ProjectScripts;class=TickLogProbe;fields=;
gameobject_end
gameobject_begin
id=91
uuid=12782062714694956708
name=GameObject
active=1
parent=0
transform=position=0,0,0;rotation=0,0,0,1;scale=1,1,1;
component=Camera;projection=0;fov=45;orthoSize=5;near=0.1;far=100;depth=0;primary=1;clearColor=1,1,1,1;
gameobject_end
gameobject_begin
id=2
uuid=1695101543211549096
name=BackpackRoot
active=1
parent=0
transform=position=0,0.08,3;rotation=0,0,0,1;scale=1,1,1;
gameobject_end
gameobject_begin
id=3
uuid=9855370671540411784
name=BackpackRotateY
active=1
parent=2
transform=position=0,0,0;rotation=0,-0.174108,0,0.984727;scale=1,1,1;
gameobject_end
gameobject_begin
id=4
uuid=14568936532392398358
name=BackpackRotateX
active=1
parent=3
transform=position=0,0,0;rotation=-0.0898786,0,0,0.995953;scale=1,1,1;
gameobject_end
gameobject_begin
id=5
uuid=7319598685716776031
name=BackpackScale
active=1
parent=4
transform=position=0,0,0;rotation=0,0,0,1;scale=0.38912,0.38912,0.38912;
gameobject_end
gameobject_begin
id=6
uuid=14495577888798577643
name=BackpackMesh
active=1
parent=5
transform=position=0.048938,-0.57189,-0.943127;rotation=0,0,0,1;scale=1,1,1;
component=MeshFilter;mesh=Assets/Models/backpack/backpack.obj;
component=MeshRenderer;materials=;castShadows=1;receiveShadows=1;renderLayer=0;
component=ScriptComponent;scriptComponentUUID=13495247810881627157;assembly=GameScripts;namespace=;class=;fields=;
gameobject_end

View File

@@ -0,0 +1,5 @@
fileFormatVersion: 1
guid: d291a8a36c1395b2199e6e32abfa7b84
folderAsset: false
importer: DefaultImporter
importerVersion: 3

View File

@@ -0,0 +1,5 @@
fileFormatVersion: 1
guid: f8af940001366ccd64b1b8bb5e071cdb
folderAsset: true
importer: FolderImporter
importerVersion: 3

View File

@@ -0,0 +1,5 @@
fileFormatVersion: 1
guid: e63714c47b794207e7310ca83f50537b
folderAsset: true
importer: FolderImporter
importerVersion: 3

View File

@@ -0,0 +1,11 @@
using XCEngine;
namespace ProjectScripts
{
public sealed class ProjectScriptProbe : MonoBehaviour
{
public string Label = "ProjectScriptProbe";
public float Speed = 2.5f;
public bool EnabledOnBoot = true;
}
}

View File

@@ -0,0 +1,5 @@
fileFormatVersion: 1
guid: 6607cf0bad154aa86768fd90d630d84f
folderAsset: false
importer: DefaultImporter
importerVersion: 3

View File

@@ -0,0 +1,5 @@
fileFormatVersion: 1
guid: ec851a44fdf97e9e2d7464b259d4e5b8
folderAsset: true
importer: FolderImporter
importerVersion: 3

View File

@@ -0,0 +1,5 @@
fileFormatVersion: 1
guid: 09908ff9ea86f69e5951b763ec5a65e4
folderAsset: false
importer: TextureImporter
importerVersion: 3

View File

@@ -0,0 +1,5 @@
fileFormatVersion: 1
guid: 907d8d9c76e51c3ff41daf2c272bbc2e
folderAsset: true
importer: FolderImporter
importerVersion: 3

View File

@@ -0,0 +1,5 @@
fileFormatVersion: 1
guid: 3292abd66fd3c24f29b432371a671609
folderAsset: false
importer: DefaultImporter
importerVersion: 3

View File

@@ -0,0 +1,5 @@
fileFormatVersion: 1
guid: 4ebde4198801fc49d0d13e3ef7f65633
folderAsset: false
importer: TextureImporter
importerVersion: 3

View File

@@ -0,0 +1,48 @@
using XCEngine;
namespace ProjectScripts
{
public sealed class TickLogProbe : MonoBehaviour
{
public int FixedUpdateCount;
public int UpdateCount;
public int LateUpdateCount;
public void Awake()
{
Debug.Log("[Project TickLogProbe] Awake");
}
public void Start()
{
Debug.Log("[Project TickLogProbe] Start");
}
public void FixedUpdate()
{
FixedUpdateCount += 1;
if (FixedUpdateCount <= 3)
{
Debug.Log("[Project TickLogProbe] FixedUpdate " + FixedUpdateCount);
}
}
public void Update()
{
UpdateCount += 1;
if (UpdateCount <= 3)
{
Debug.Log("[Project TickLogProbe] Update " + UpdateCount);
}
}
public void LateUpdate()
{
LateUpdateCount += 1;
if (LateUpdateCount <= 3)
{
Debug.Log("[Project TickLogProbe] LateUpdate " + LateUpdateCount);
}
}
}
}

View File

@@ -0,0 +1,5 @@
fileFormatVersion: 1
guid: b5bf687835df60784ce27f81737e95c4
folderAsset: false
importer: DefaultImporter
importerVersion: 3