Example #1
0
    // Use this for initialization
    void Start()
    {
        playerCtrl = GetComponent <PlayerGameplayController>();
        Debug.Assert(playerCtrl);

        timeSinceLastShot = 0.0f;
    }
Example #2
0
    // Use this for initialization
    void Start()
    {
        playerCtrl = GetComponent<PlayerGameplayController>();
        Debug.Assert(playerCtrl);

        timeSinceLastShot = 0.0f;
    }
 public void CollisionWith(PlayerGameplayController player)
 {
     GameObject.Destroy(gameObject);
 }
Example #4
0
 public void CollisionWith(PlayerGameplayController player)
 {
     GameObject.Destroy(gameObject);
 }