mirror of
https://github.com/RHeavenStudio/HeavenStudio.git
synced 2025-06-13 02:57:38 +02:00
Spaceball camera easings
This commit is contained in:
@ -53,7 +53,7 @@ namespace RhythmHeavenMania.Editor
|
||||
private bool changedMusic = false;
|
||||
private bool loadedMusic = false;
|
||||
private string currentRemixPath = "";
|
||||
private int lastEditorObjectsCount = 0;
|
||||
private string remixName = "";
|
||||
private bool fullscreen;
|
||||
public bool discordDuringTesting = false;
|
||||
|
||||
@ -176,13 +176,6 @@ namespace RhythmHeavenMania.Editor
|
||||
}
|
||||
}
|
||||
|
||||
if (lastEditorObjectsCount != GameManager.instance.BeatmapEntities())
|
||||
{
|
||||
UpdateEditorStatus(false);
|
||||
}
|
||||
|
||||
lastEditorObjectsCount = GameManager.instance.BeatmapEntities();
|
||||
|
||||
if (Application.isEditor)
|
||||
{
|
||||
if (Input.GetKeyDown(KeyCode.S))
|
||||
@ -308,6 +301,9 @@ namespace RhythmHeavenMania.Editor
|
||||
zipStream.Write(bytes, 0, bytes.Length);
|
||||
}
|
||||
}
|
||||
|
||||
currentRemixPath = path;
|
||||
UpdateEditorStatus(false);
|
||||
}
|
||||
}
|
||||
|
||||
@ -364,6 +360,8 @@ namespace RhythmHeavenMania.Editor
|
||||
}
|
||||
|
||||
currentRemixPath = path;
|
||||
remixName = Path.GetFileName(path);
|
||||
UpdateEditorStatus(false);
|
||||
CommandManager.instance.Clear();
|
||||
}
|
||||
});
|
||||
@ -394,7 +392,7 @@ namespace RhythmHeavenMania.Editor
|
||||
private void UpdateEditorStatus(bool updateTime)
|
||||
{
|
||||
if (discordDuringTesting || !Application.isEditor)
|
||||
DiscordRPC.DiscordRPC.UpdateActivity("In Editor", $"Objects: {GameManager.instance.Beatmap.entities.Count + GameManager.instance.Beatmap.tempoChanges.Count}", updateTime);
|
||||
DiscordRPC.DiscordRPC.UpdateActivity("In Editor", $"{remixName}", updateTime);
|
||||
}
|
||||
|
||||
public string GetJson()
|
||||
|
Reference in New Issue
Block a user