C# 클래스 MapManager, DefendAman

상속: MonoBehaviour
파일 보기 프로젝트 열기: CarsonRoscoe/DefendAman 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
ArmoryList List
_mapSceneryObjects List
_mapSolids List
_mapWalkable List
_obstacle GameObject
_resourceSprites List
_scenery GameObject
_tile GameObject
audioExplode AudioClip
audioSource AudioSource
buildingsCreated List
cameraDistance float
cameraPosition Vector3
frustumHeight float
mainCamera Camera
mapResource GameObject
wallList List

공개 메소드들

메소드 설명
HandleEvent ( int id, JSONClass message ) : void
ProcessResourceDepletedEvent ( JSONClass message ) : void
ProcessResourceRespawnEvent ( JSONClass message ) : void
ProcessResourceTakenEvent ( JSONClass message ) : void

비공개 메소드들

메소드 설명
CheckObjectPool ( ) : void
CreateMap ( JSONClass message ) : void
DrawMap ( ) : void
ExplodeAndDestroy ( GameObject go ) : IEnumerator
InstantiatePool ( ) : void
InstantiateResources ( JSONClass message ) : void
RespawnAfterTime ( GameObject go, int seconds, int amount ) : IEnumerator
Start ( ) : void
Update ( ) : void

메소드 상세

HandleEvent() 공개 메소드

public HandleEvent ( int id, JSONClass message ) : void
id int
message JSONClass
리턴 void

ProcessResourceDepletedEvent() 공개 메소드

public ProcessResourceDepletedEvent ( JSONClass message ) : void
message JSONClass
리턴 void

ProcessResourceRespawnEvent() 공개 메소드

public ProcessResourceRespawnEvent ( JSONClass message ) : void
message JSONClass
리턴 void

ProcessResourceTakenEvent() 공개 메소드

public ProcessResourceTakenEvent ( JSONClass message ) : void
message JSONClass
리턴 void

프로퍼티 상세

ArmoryList 공개적으로 프로퍼티

public List ArmoryList
리턴 List

_mapSceneryObjects 공개적으로 프로퍼티

public List _mapSceneryObjects
리턴 List

_mapSolids 공개적으로 프로퍼티

public List _mapSolids
리턴 List

_mapWalkable 공개적으로 프로퍼티

public List _mapWalkable
리턴 List

_obstacle 공개적으로 프로퍼티

public GameObject _obstacle
리턴 GameObject

_resourceSprites 공개적으로 프로퍼티

public List _resourceSprites
리턴 List

_scenery 공개적으로 프로퍼티

public GameObject _scenery
리턴 GameObject

_tile 공개적으로 프로퍼티

public GameObject _tile
리턴 GameObject

audioExplode 공개적으로 프로퍼티

public AudioClip audioExplode
리턴 AudioClip

audioSource 공개적으로 프로퍼티

public AudioSource audioSource
리턴 AudioSource

buildingsCreated 공개적으로 프로퍼티

public List buildingsCreated
리턴 List

cameraDistance 공개적으로 정적으로 프로퍼티

public static float cameraDistance
리턴 float

cameraPosition 공개적으로 프로퍼티

public Vector3 cameraPosition
리턴 Vector3

frustumHeight 공개적으로 프로퍼티

public float frustumHeight
리턴 float

mainCamera 공개적으로 프로퍼티

public Camera mainCamera
리턴 Camera

mapResource 공개적으로 프로퍼티

public GameObject mapResource
리턴 GameObject

wallList 공개적으로 프로퍼티

public List wallList
리턴 List