实现bake的自动化,但是autoorient的重建还是需要一些优化

Signed-off-by: TRAfoer <lhf190@outlook.com>
This commit is contained in:
2026-01-24 20:56:43 +08:00
parent de4e399d78
commit 77726bcb6c
29 changed files with 728515 additions and 10750 deletions

View File

@@ -0,0 +1,35 @@
using System;
using System.Collections;
using System.Collections.Generic;
using Ichni.Editor;
using Ichni.RhythmGame.Beatmap;
using Lean.Pool;
using UnityEngine;
namespace Ichni.RhythmGame
{
public class FixedTrackMesh : GameElement, IHaveTransformSubmodule
{
public TransformSubmodule transformSubmodule { get; set; }
public MeshFilter meshFilter;
public MeshRenderer meshRenderer;
public Mesh mesh
{
get => _mesh;
set
{
_mesh = value;
if (meshFilter != null)
{
meshFilter.mesh = _mesh;
}
}
}
private Mesh _mesh;
// public static override void GenerateElement(string elementName, Guid id, List<string> tags,
// bool isFirstGenerated, string themeBundleName, string objectName, GameElement parentElement)
// {
// }
}
}

View File

@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 50968938d462f564b837d5631210cd62
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant: