基础内容-5

主题包;
测试NoteVisual与NoteEffect;
LookAt旋转动画与FlexibleBool
动画杂项
控制台初步
This commit is contained in:
SoulliesOfficial
2025-01-29 23:49:18 -05:00
parent 7520983b20
commit 39b4a5e7ff
102 changed files with 3492 additions and 261 deletions

View File

@@ -17,9 +17,9 @@ namespace Ichni.RhythmGame
public Track track;
public SplinePositioner trackPositioner;
// [Title("NoteVisual")]
// public GeneralNoteVisual noteVisual;
//
[Title("NoteVisual")]
public NoteVisualBase noteVisual;
[Title("NoteEffect")]
[Tooltip("生成Note时的特效")]
public EffectSubmodule generateEffects;

View File

@@ -0,0 +1,12 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Ichni.RhythmGame
{
public class NoteEffectBase : EffectBase
{
public NoteBase note;
public NoteVisualBase noteVisual;
}
}

View File

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

View File

@@ -2,17 +2,22 @@ using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class NoteVisualBase : MonoBehaviour
namespace Ichni.RhythmGame
{
// Start is called before the first frame update
void Start()
public class NoteVisualBase : SubstantialObject
{
public NoteBase note;
}
public GameObject noteMain;
public GameObject judgeEffect;
// Update is called once per frame
void Update()
{
public List<GameObject> notePartList;
public List<GameObject> effectPartList;
public void NewInitialize(NoteBase note)
{
base.NewInitialize(note.elementName + " Note Visual");
this.note = note;
}
}
}
}