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

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