C# Class AllowTool.UnlimitedDesignationDragger

ファイルを表示 Open project: UnlimitedHugs/RimworldAllowTool Class Usage Examples

Public Methods

Method Description
BeginListening ( ThingIsReleveantFilter callback, Texture2D dragHighlightTex ) : void
GetAffectedCells ( ) : IEnumerable
Update ( ) : void

Private Methods

Method Description
DrawOverlayOnCells ( IEnumerable cells ) : void
UpdateAffectedCellsInRect ( IntVec3 pos1, IntVec3 pos2 ) : void

Method Details

BeginListening() public method

public BeginListening ( ThingIsReleveantFilter callback, Texture2D dragHighlightTex ) : void
callback ThingIsReleveantFilter
dragHighlightTex UnityEngine.Texture2D
return void

GetAffectedCells() public method

public GetAffectedCells ( ) : IEnumerable
return IEnumerable

Update() public method

public Update ( ) : void
return void