Table of Contents

Class UIRaycastController

Namespace
CodeBase.Patterns.Example
Assembly
4Experience.CodeBase.Patterns.Samples.dll
public class UIRaycastController : ExtendedMonoBehaviour
Inheritance
Object
Component
Behaviour
MonoBehaviour
UIRaycastController
Extension Methods

Properties

CachedPawn

private Pawn CachedPawn { get; set; }

Property Value

Pawn

ClickData

private PointerEventData ClickData { get; set; }

Property Value

PointerEventData

ClickResults

private List<RaycastResult> ClickResults { get; set; }

Property Value

List<RaycastResult>

UIRaycaster

private GraphicRaycaster UIRaycaster { get; set; }

Property Value

GraphicRaycaster

Methods

GetUIElementClicked()

private void GetUIElementClicked()

SelectPawn(Pawn)

public void SelectPawn(Pawn pawn)

Parameters

pawn Pawn

SelectTile(Tile)

public void SelectTile(Tile tile)

Parameters

tile Tile

Update()

protected virtual void Update()