// Use this for initialization void Start() { playerCtrl = GetComponent <PlayerGameplayController>(); Debug.Assert(playerCtrl); timeSinceLastShot = 0.0f; }
// Use this for initialization void Start() { playerCtrl = GetComponent<PlayerGameplayController>(); Debug.Assert(playerCtrl); timeSinceLastShot = 0.0f; }
public void CollisionWith(PlayerGameplayController player) { GameObject.Destroy(gameObject); }