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

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