C# Class Final_Boss_Movement, scriptcaster

Inheritance: MonoBehaviour
Exibir arquivo Open project: crazymeeshu/scriptcaster

Public Properties

Property Type Description
Player GameObject
bossManager GameObject
distanceToChange float
speed float

Public Methods

Method Description
ChooseRandomStage ( ) : void
FixedUpdate ( ) : void
OnTriggerEnter2D ( Collider2D col ) : void
Start ( ) : void
StartInvincibility ( float duration ) : void
Update ( ) : void

Private Methods

Method Description
CalculatePositions ( int stageNum ) : void
Stage1Movement ( ) : int
Stage2Movement ( ) : int
Stage3Movement ( ) : int
Stage4Movement ( ) : int
StageSelector ( int stageNum ) : void
isInvicible ( float duration ) : IEnumerator
position1MoveCo ( int delayTime ) : IEnumerator
position2MoveCo ( int delayTime ) : IEnumerator
position3MoveCo ( float delayTime ) : IEnumerator
position4MoveCo ( float delayTime ) : IEnumerator
position5MoveCo ( float delayTime ) : IEnumerator

Method Details

ChooseRandomStage() public method

public ChooseRandomStage ( ) : void
return void

FixedUpdate() public method

public FixedUpdate ( ) : void
return void

OnTriggerEnter2D() public method

public OnTriggerEnter2D ( Collider2D col ) : void
col UnityEngine.Collider2D
return void

Start() public method

public Start ( ) : void
return void

StartInvincibility() public method

public StartInvincibility ( float duration ) : void
duration float
return void

Update() public method

public Update ( ) : void
return void

Property Details

Player public_oe property

public GameObject Player
return GameObject

bossManager public_oe property

public GameObject bossManager
return GameObject

distanceToChange public_oe property

public float distanceToChange
return float

speed public_oe property

public float speed
return float