Struct SheetIndexScope
Scope that change sheet index of the rendering cells inside
Implements
Examples
using AngeliA;
namespace AngeliaGame;
public class Example {
[OnGameUpdate]
internal static void OnGameUpdate () {
using (new SheetIndexScope(/*Your Sheet Index*/)) {
// Rendering cells inside will render with given sheet
}
}
}
Constructors
SheetIndexScope()
Scope that change sheet index of the rendering cells inside
Declaration
public SheetIndexScope()
SheetIndexScope(int)
Scope that change sheet index of the rendering cells inside
Declaration
public SheetIndexScope(int sheet)
Methods
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Declaration
public void Dispose()