C# Class BrickBehavior, TSGs

Inheritance: MonoBehaviour
Datei anzeigen Open project: SNUGDC/TSGs Class Usage Examples

Public Properties

Property Type Description
brickDamage int
brickHP int
brickImage1 Sprite
brickImage2 Sprite
brickImage3 Sprite
brickImage4 Sprite

Public Methods

Method Description
DrawBrick ( ) : void
OnCollisionEnter2D ( Collision2D other ) : void
OnTriggerEnter2D ( Collider2D other ) : void
SetInactive ( ) : void
Start ( ) : void
TakeDamage ( ) : void
Update ( ) : void

Method Details

DrawBrick() public method

public DrawBrick ( ) : void
return void

OnCollisionEnter2D() public method

public OnCollisionEnter2D ( Collision2D other ) : void
other Collision2D
return void

OnTriggerEnter2D() public method

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

SetInactive() public method

public SetInactive ( ) : void
return void

Start() public method

public Start ( ) : void
return void

TakeDamage() public method

public TakeDamage ( ) : void
return void

Update() public method

public Update ( ) : void
return void

Property Details

brickDamage public_oe property

public int brickDamage
return int

brickHP public_oe property

public int brickHP
return int

brickImage1 public_oe property

public Sprite brickImage1
return Sprite

brickImage2 public_oe property

public Sprite brickImage2
return Sprite

brickImage3 public_oe property

public Sprite brickImage3
return Sprite

brickImage4 public_oe property

public Sprite brickImage4
return Sprite