C# Class Bunker, SpaceInvadersRemake

Inheritance: Building
显示文件 Open project: skahal/SpaceInvadersRemake Class Usage Examples

Public Properties

Property Type Description
HorizontalPixelsDestroyedPerShoot int
MaxShootSupportedInPoint int
MinimumHitPixelsToBlockProjectile int

Public Methods

Method Description
Awake ( ) : void
DestroyHorizontalPizels ( int pixelY, int x, int halfWidth, int hitPixelsByShoot, int &hitPixelsCount ) : void
OnTriggerEnter2D ( Collider2D other ) : void

Private Methods

Method Description
DestroyPoint ( RaycastHit2D hit, bool isAlienTarget ) : bool

Method Details

Awake() public method

public Awake ( ) : void
return void

DestroyHorizontalPizels() public method

public DestroyHorizontalPizels ( int pixelY, int x, int halfWidth, int hitPixelsByShoot, int &hitPixelsCount ) : void
pixelY int
x int
halfWidth int
hitPixelsByShoot int
hitPixelsCount int
return void

OnTriggerEnter2D() public method

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

Property Details

HorizontalPixelsDestroyedPerShoot public_oe property

public int HorizontalPixelsDestroyedPerShoot
return int

MaxShootSupportedInPoint public_oe property

public int MaxShootSupportedInPoint
return int

MinimumHitPixelsToBlockProjectile public_oe property

public int MinimumHitPixelsToBlockProjectile
return int