C# Class EnemyPush, angrygoats

Purpose: Allows certain enemies to push the player and deal damage to them on contact.
Inheritance: MonoBehaviour
显示文件 Open project: dulb640/angrygoats

Public Properties

Property Type Description
knockback int

Public Methods

Method Description
OnTriggerEnter ( Collider other ) : void

Method Details

OnTriggerEnter() public method

public OnTriggerEnter ( Collider other ) : void
other Collider
return void

Property Details

knockback public_oe property

public int knockback
return int