Timeline
This commit is contained in:
@@ -13,9 +13,7 @@ namespace Ichni
|
||||
public class EditorManager : SerializedMonoBehaviour
|
||||
{
|
||||
public static EditorManager instance;
|
||||
|
||||
public SongModule songModule;
|
||||
|
||||
|
||||
public ProjectManager projectManager;
|
||||
public EditorUIManager uiManager;
|
||||
public EditorSettings editorSettings;
|
||||
@@ -38,8 +36,8 @@ namespace Ichni
|
||||
{
|
||||
//CreateNew();
|
||||
projectManager.loadManager.Load("TestProject");
|
||||
AudioSource.PlayClipAtPoint(songInformation.song, Vector3.zero);
|
||||
|
||||
uiManager.timeline.musicPlayer.audioSource.clip = songInformation.song;
|
||||
|
||||
beatmapContainer.gameElementList.ForEach(gameElement =>
|
||||
{
|
||||
if (gameElement is IHaveTransformSubmodule transformedElement)
|
||||
@@ -55,11 +53,6 @@ namespace Ichni
|
||||
// projectManager.exportManager.Export();
|
||||
}
|
||||
|
||||
private void Update()
|
||||
{
|
||||
songModule.songTime += Time.deltaTime;
|
||||
}
|
||||
|
||||
private void CreateNew()
|
||||
{
|
||||
projectManager.GenerateProject("TestProject");
|
||||
@@ -100,10 +93,4 @@ namespace Ichni
|
||||
"basic", "BasicNoteTap3D");
|
||||
}
|
||||
}
|
||||
|
||||
public class SongModule
|
||||
{
|
||||
public float songTime;
|
||||
public float songBeat;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user