FTilemap.HandleResize C# (CSharp) Method

HandleResize() public method

public HandleResize ( bool orientationChange ) : void
orientationChange bool
return void
    public virtual void HandleResize(bool orientationChange)
    {
        if (clipToScreen) {
            // update width/height
            _clipWidth = Futile.screen.width;
            _clipHeight = Futile.screen.height;

            // reset tiles
            buildTiles();
        }
    }