Struct CellZScope
Scope to change rendering cell z value
Implements
Examples
using AngeliA;
namespace AngeliaGame;
public class Example {
[OnGameUpdate]
internal static void OnGameUpdate () {
int newZ = 0;
using (new CellZScope(newZ)) {
// Rendering cell created inside will have their z value override
}
}
}
Constructors
CellZScope(int)
Scope to change rendering cell z value
Declaration
public CellZScope(int z)
Methods
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Declaration
public void Dispose()