Battle Talent  V11
Public Member Functions | Public Attributes | Events | List of all members
CrossLink.Cannon Class Reference

Inherits CrossLink.SceneObj.

Public Member Functions

void Restart ()
 
void StartAutoShoot (float interval)
 
void StopAutoShoot ()
 
void OnCloseTo ()
 
void OnFarAway ()
 
void Shoot ()
 
void Shoot (Vector3 dir)
 

Public Attributes

string spawnPrefix = FlyObject.FlyObjPath
 
string shootBullet
 
string shootEffect
 
float shootForce = 0
 
Transform shootPosition
 
Transform shootTarget
 
bool mountBulletOnCannon = false
 
float shootInterval = -1
 
bool autoRunAtStart = false
 
Vector3 ignoreCollisionBox = Vector3.one
 
FlyCurveSetup curve
 
UnityEvent playShootAction
 

Events

System.Action< GameObject > SpawnEvent
 

Additional Inherited Members