Beispiel #1
0
    // Use this for initialization
    void Start()
    {
        currentWeapons = WeaponsStates.SingleLaser;
        var aSource = GetComponents <AudioSource>();

        Laser = aSource[1];
    }
Beispiel #2
0
 public void changeToMissile()
 {
     currentWeapons = WeaponsStates.Missile;
 }