C# Class Platform.PlatformSpawner

Inheritance: UnityEngine.MonoBehaviour
Afficher le fichier Open project: matthewAURA/SlashRunner

Méthodes publiques

Свойство Type Description
spawn UnityEngine.Transform
target UnityEngine.Transform

Méthodes publiques

Méthode Description
Start ( ) : void
Update ( ) : void
registerListener ( PlatformSpawnListener p ) : void

Méthodes protégées

Méthode Description
shouldSpawnNewSection ( ) : bool

Private Methods

Méthode Description
calculateSpawnPosition ( ) : Vector3
shouldChangePlatformHeight ( ) : bool
shouldSpawnNewGameObject ( ) : bool
spawnSection ( Vector3 position ) : Transform

Method Details

Start() public méthode

public Start ( ) : void
Résultat void

Update() public méthode

public Update ( ) : void
Résultat void

registerListener() public méthode

public registerListener ( PlatformSpawnListener p ) : void
p PlatformSpawnListener
Résultat void

shouldSpawnNewSection() protected méthode

protected shouldSpawnNewSection ( ) : bool
Résultat bool

Property Details

spawn public_oe property

Template to spawn more of
public Transform,UnityEngine spawn
Résultat UnityEngine.Transform

target public_oe property

Object to follow
public Transform,UnityEngine target
Résultat UnityEngine.Transform