Simulation mode and pause/resume

This commit is contained in:
Simon Lübeß
2023-03-24 23:50:46 +01:00
parent f16fbc3984
commit d54cdf43ee
5 changed files with 150 additions and 18 deletions
+4
View File
@@ -16,6 +16,8 @@ namespace GlitchyEditor
public SubTexture2D File ~ _.ReleaseRef();
public SubTexture2D Play ~ _.ReleaseRef();
public SubTexture2D Stop ~ _.ReleaseRef();
public SubTexture2D Simulate ~ _.ReleaseRef();
public SubTexture2D Pause ~ _.ReleaseRef();
public SamplerState SamplerState
{
@@ -35,6 +37,8 @@ namespace GlitchyEditor
File = GetNextGridTexture(ref pen, iconSize);
Play = GetNextGridTexture(ref pen, iconSize);
Stop = GetNextGridTexture(ref pen, iconSize);
Simulate = GetNextGridTexture(ref pen, iconSize);
Pause = GetNextGridTexture(ref pen, iconSize);
}
private SubTexture2D GetNextGridTexture(ref Vector2 pen, Vector2 iconSize)