C# 클래스 UnderConstructionBox, astrochimps

상속: MonoBehaviour
파일 보기 프로젝트 열기: arcoelho01/astrochimps

공개 프로퍼티들

프로퍼티 타입 설명
sfxConstrucaoConcluida UnityEngine.AudioClip

공개 메소드들

메소드 설명
CreateNewBuilding ( ) : void

Actually creates a building. First, instantiate it, then do the basic setup if needed

SetBuildingTime ( float buildTime ) : void

Sets the building time for this construction box

SetBuiltOverObject ( Transform builtOver ) : void

Get the object where this will be built

SetPrefabToBuild ( Transform prefabToBuild ) : void

Set the prefab object to build

Start ( ) : void
Update ( ) : void
UpdateAStarGraphWithNewBuilding ( ) : void

Updates the A* graph with the recently built building, using it's collider

비공개 메소드들

메소드 설명
DestroyBox ( ) : IEnumerator

Routine to play the complete animation and, after it's done, destroy this object

메소드 상세

CreateNewBuilding() 공개 메소드

Actually creates a building. First, instantiate it, then do the basic setup if needed
public CreateNewBuilding ( ) : void
리턴 void

SetBuildingTime() 공개 메소드

Sets the building time for this construction box
public SetBuildingTime ( float buildTime ) : void
buildTime float
리턴 void

SetBuiltOverObject() 공개 메소드

Get the object where this will be built
public SetBuiltOverObject ( Transform builtOver ) : void
builtOver Transform
리턴 void

SetPrefabToBuild() 공개 메소드

Set the prefab object to build
public SetPrefabToBuild ( Transform prefabToBuild ) : void
prefabToBuild Transform
리턴 void

Start() 공개 메소드

public Start ( ) : void
리턴 void

Update() 공개 메소드

public Update ( ) : void
리턴 void

UpdateAStarGraphWithNewBuilding() 공개 메소드

Updates the A* graph with the recently built building, using it's collider
public UpdateAStarGraphWithNewBuilding ( ) : void
리턴 void

프로퍼티 상세

sfxConstrucaoConcluida 공개적으로 프로퍼티

public AudioClip,UnityEngine sfxConstrucaoConcluida
리턴 UnityEngine.AudioClip