Class Minimap
미니맵을 출력하는 GUI 클래스
네임스페이스: Game.Scripts.UI
어셈블리: Assembly-CSharp.dll
Syntax
[MoonSharpUserData]
public class Minimap : Control
생성자
Minimap(Rect)
미니맵을 출력하는 GUI 클래스
선언
public Minimap(Rect rect)
매개 변수(인자)
타입 | 이름 | 설명 |
---|---|---|
Rect | rect |
Minimap(RectTransform, Control)
미니맵을 출력하는 GUI 클래스
선언
public Minimap(RectTransform rt, Control original)
매개 변수(인자)
타입 | 이름 | 설명 |
---|---|---|
UnityEngine.RectTransform | rt | |
Control | original |
변수
_fitMap
미니맵을 출력하는 GUI 클래스
선언
protected bool _fitMap
필드 값
타입 | 설명 |
---|---|
bool |
_imgBG
미니맵을 출력하는 GUI 클래스
선언
protected Image _imgBG
필드 값
타입 | 설명 |
---|---|
UnityEngine.UI.Image |
_imgCursor
미니맵을 출력하는 GUI 클래스
선언
protected Image _imgCursor
필드 값
타입 | 설명 |
---|---|
UnityEngine.UI.Image |
_imgMap
미니맵을 출력하는 GUI 클래스
선언
protected RawImage _imgMap
필드 값
타입 | 설명 |
---|---|
UnityEngine.UI.RawImage |
_mono
미니맵을 출력하는 GUI 클래스
선언
protected MinimapMono _mono
필드 값
타입 | 설명 |
---|---|
MinimapMono |
_terrainHeight
미니맵을 출력하는 GUI 클래스
선언
protected float _terrainHeight
필드 값
타입 | 설명 |
---|---|
float |
_terrainWidth
미니맵을 출력하는 GUI 클래스
선언
protected float _terrainWidth
필드 값
타입 | 설명 |
---|---|
float |
프로퍼티
backgroundColor
미니맵 배경 색상
선언
public Color backgroundColor { get; set; }
프로퍼티 값
타입 | 설명 |
---|---|
Color |
cursorColor
미니맵 캐릭터 커서 색상
선언
public Color cursorColor { get; set; }
프로퍼티 값
타입 | 설명 |
---|---|
Color |
mapFittable
미니맵 영역 맞춤 설정
선언
public bool mapFittable { get; set; }
프로퍼티 값
타입 | 설명 |
---|---|
bool |
mapOpacity
미니맵 이미지 투명도
선언
public int mapOpacity { get; set; }
프로퍼티 값
타입 | 설명 |
---|---|
int |
함수
Destroy()
미니맵을 파괴합니다
선언
public override void Destroy()
재정의
HandleEvent(GameEvent)
미니맵을 출력하는 GUI 클래스
선언
public void HandleEvent(GameEvent e)
매개 변수(인자)
타입 | 이름 | 설명 |
---|---|---|
Game.Event.GameEvent | e |
New(Rect)
미니맵 생성
선언
public static Minimap New(Rect rect)
매개 변수(인자)
타입 | 이름 | 설명 |
---|---|---|
Rect | rect | 미니맵 영역 |
반환
타입 | 설명 |
---|---|
Minimap |
Refresh()
미니맵을 출력하는 GUI 클래스
선언
public void Refresh()
SetColors(Color, Color, string)
미니맵을 출력하는 GUI 클래스
선언
public void SetColors(Color inBgColor, Color inCursorColor, string inMapOpacity)
매개 변수(인자)
타입 | 이름 | 설명 |
---|---|---|
Color | inBgColor | |
Color | inCursorColor | |
string | inMapOpacity |
Update()
미니맵을 출력하는 GUI 클래스
선언
public void Update()