Data class used to provide information about a cannon.
More...
Data class used to provide information about a cannon.
◆ CannonFireInfo()
CoopCannons.CannonFireInfo.CannonFireInfo |
( |
Transform |
firePosition, |
|
|
BoxCollider2D |
collider |
|
) |
| |
◆ collider
readonly BoxCollider2D CoopCannons.CannonFireInfo.collider |
The collider of the cannon. The collider is given in case that the spawned bullet is too large and makes contact with the cannon when spawned and causes the bullet to instantly disapear.
◆ firePosition
readonly Transform CoopCannons.CannonFireInfo.firePosition |
The position a bullet should be fired from.
The documentation for this struct was generated from the following file: