Property | Type | Description | |
---|---|---|---|
cannon | ECannonPos | ||
cannonBallForce | float | ||
cannonBallPrefab | |||
lookAtTarget | |||
parentAirship | |||
shotCooldown | float |
Method | Description | |
---|---|---|
Awake ( ) : void | ||
Fire ( ) : void | ||
Start ( ) : void | ||
Update ( ) : void |
Method | Description | |
---|---|---|
CreateCannonball ( |
public GameObject,UnityEngine cannonBallPrefab | ||
return |
public Transform,UnityEngine lookAtTarget | ||
return |
public GameObject,UnityEngine parentAirship | ||
return |