C# Class MinimapScript, angrygoats

Inheritance: MonoBehaviour
Show file Open project: dulb640/angrygoats Class Usage Examples

Public Properties

Property Type Description
currentRoomSprite Sprite
doorImagePrefab Image,
exploredRoomSprite Sprite
miniMapUI UnityEngine.CanvasGroup
roomImagePrefab Image,

Public Methods

Method Description
ChangeImage ( Image, image, string type ) : void
GenerateMapBlock ( Vector2 location ) : void
PlayerEntersRoom ( Vector2 location, List doorLocations ) : void
UnlockMapBlock ( Image, image ) : void
Update ( ) : void

Method Details

ChangeImage() public method

public ChangeImage ( Image, image, string type ) : void
image Image,
type string
return void

GenerateMapBlock() public method

public GenerateMapBlock ( Vector2 location ) : void
location Vector2
return void

PlayerEntersRoom() public method

public PlayerEntersRoom ( Vector2 location, List doorLocations ) : void
location Vector2
doorLocations List
return void

UnlockMapBlock() public method

public UnlockMapBlock ( Image, image ) : void
image Image,
return void

Update() public method

public Update ( ) : void
return void

Property Details

currentRoomSprite public property

public Sprite currentRoomSprite
return Sprite

doorImagePrefab public property

public Image, doorImagePrefab
return Image,

exploredRoomSprite public property

public Sprite exploredRoomSprite
return Sprite

miniMapUI public property

public CanvasGroup,UnityEngine miniMapUI
return UnityEngine.CanvasGroup

roomImagePrefab public property

public Image, roomImagePrefab
return Image,