AngeliA
Search Results for

    Show / Hide Table of Contents

    Struct ShiftCellsScope

    Scope that shift position of the rendering cells inside

    Implements
    IDisposable
    Examples
    using AngeliA;
    
    namespace AngeliaGame;
    
    public class Example {
    
    	[OnGameUpdate]
    	internal static void OnGameUpdate () {
    
    		using (new ShiftCellsScope(/*Your Offset Position Here*/)) {
    
    			// Rendering cells inside will offset their position
    
    		}
    
    	}
    
    }

    Constructors

    ShiftCellsScope()

    Scope that shift position of the rendering cells inside

    Declaration
    public ShiftCellsScope()

    ShiftCellsScope(Int2)

    Scope that shift position of the rendering cells inside

    Declaration
    public ShiftCellsScope(Int2 shift)

    Methods

    Dispose()

    Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

    Declaration
    public void Dispose()
    Back to top ๐Ÿ„๐Ÿฆโ€โฌ›๐Ÿงฆ๐Ÿˆ๐ŸŽƒ๐Ÿ’“๐ŸŒนโ˜•๐Ÿดโ€โ˜ ๏ธ๐Ÿค