实现bake的自动化,但是autoorient的重建还是需要一些优化
Signed-off-by: TRAfoer <lhf190@outlook.com>
This commit is contained in:
@@ -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)
|
||||
// {
|
||||
|
||||
// }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 50968938d462f564b837d5631210cd62
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Reference in New Issue
Block a user