C# 클래스 SpawnSystem, gmap377_leathGloves_inc

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

공개 프로퍼티들

프로퍼티 타입 설명
ChanceDifficultyIncreaseDeath float
CollisionCheckRadius float
CurrentDifficulty int
CurrentEnemyNumber int
DifficultyIncreaseTime int
EnemyPrefabs List
EnemyProbabilities List
Instance SpawnSystem,
MaxSpawnDistance float
MaxSpawnDistanceActual float
MaxTries int
MinSpawnDistanceActual float
MinSpawnDistanceEmpty float
MinSpawnDistancePopulated float
gridDimension int

공개 메소드들

메소드 설명
CreateGrid ( string planetName ) : void
DestroyAllChildren ( ) : void
RegisterEnemyDeath ( ) : void
getPlayerGridLoc ( ) : long
getSpawnCells ( long playerLoc, int maxCellsAway, int minCellsAway ) : List

Gets the list of possible grids in which enemies can be spawned.

moveToPlanet ( string name ) : void
setPlanetName ( string name ) : void
toGrid ( Vector2 point, float minSize, long gridOffset ) : long
waitForPlanet ( ) : IEnumerator

비공개 메소드들

메소드 설명
Awake ( ) : void
SpawnEnemy ( ) : void

Tries to spawn an enemy

Start ( ) : void
Update ( ) : void

메소드 상세

CreateGrid() 공개 메소드

public CreateGrid ( string planetName ) : void
planetName string
리턴 void

DestroyAllChildren() 공개 메소드

public DestroyAllChildren ( ) : void
리턴 void

RegisterEnemyDeath() 공개 메소드

public RegisterEnemyDeath ( ) : void
리턴 void

getPlayerGridLoc() 공개 메소드

public getPlayerGridLoc ( ) : long
리턴 long

getSpawnCells() 공개 메소드

Gets the list of possible grids in which enemies can be spawned.
public getSpawnCells ( long playerLoc, int maxCellsAway, int minCellsAway ) : List
playerLoc long Player location.
maxCellsAway int Max cells away.
minCellsAway int Minimum cells away.
리턴 List

moveToPlanet() 공개 메소드

public moveToPlanet ( string name ) : void
name string
리턴 void

setPlanetName() 공개 메소드

public setPlanetName ( string name ) : void
name string
리턴 void

toGrid() 공개 메소드

public toGrid ( Vector2 point, float minSize, long gridOffset ) : long
point Vector2
minSize float
gridOffset long
리턴 long

waitForPlanet() 공개 메소드

public waitForPlanet ( ) : IEnumerator
리턴 IEnumerator

프로퍼티 상세

ChanceDifficultyIncreaseDeath 공개적으로 프로퍼티

public float ChanceDifficultyIncreaseDeath
리턴 float

CollisionCheckRadius 공개적으로 프로퍼티

public float CollisionCheckRadius
리턴 float

CurrentDifficulty 공개적으로 프로퍼티

public int CurrentDifficulty
리턴 int

CurrentEnemyNumber 공개적으로 프로퍼티

public int CurrentEnemyNumber
리턴 int

DifficultyIncreaseTime 공개적으로 프로퍼티

public int DifficultyIncreaseTime
리턴 int

EnemyPrefabs 공개적으로 프로퍼티

public List EnemyPrefabs
리턴 List

EnemyProbabilities 공개적으로 프로퍼티

public List EnemyProbabilities
리턴 List

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

public static SpawnSystem, Instance
리턴 SpawnSystem,

MaxSpawnDistance 공개적으로 프로퍼티

public float MaxSpawnDistance
리턴 float

MaxSpawnDistanceActual 공개적으로 프로퍼티

public float MaxSpawnDistanceActual
리턴 float

MaxTries 공개적으로 프로퍼티

public int MaxTries
리턴 int

MinSpawnDistanceActual 공개적으로 프로퍼티

public float MinSpawnDistanceActual
리턴 float

MinSpawnDistanceEmpty 공개적으로 프로퍼티

public float MinSpawnDistanceEmpty
리턴 float

MinSpawnDistancePopulated 공개적으로 프로퍼티

public float MinSpawnDistancePopulated
리턴 float

gridDimension 공개적으로 프로퍼티

public int gridDimension
리턴 int