Table of Contents

Interface IPlacable

Namespace
WitShells.MapView
public interface IPlacable

Properties

Data

PlacableData Data { get; }

Property Value

PlacableData

GameObject

GameObject GameObject { get; }

Property Value

GameObject

Methods

AddedToMapView()

void AddedToMapView()

Initialize(PlacableData, string)

void Initialize(PlacableData data, string customData)

Parameters

data PlacableData
customData string

RemovedFromMapView()

void RemovedFromMapView()

UpdateCoordinates(Coordinates, float)

void UpdateCoordinates(Coordinates newCoordinates, float newZoomLevel)

Parameters

newCoordinates Coordinates
newZoomLevel float

UpdateScale(float, float)

void UpdateScale(float currentZoomLevel, float maxZoomLevel)

Parameters

currentZoomLevel float
maxZoomLevel float