Beispiel #1
0
    public void AddTempGunToPlayer() //The difference here is that it will not change the ArmIk or Prefab varaibles
    {
        GunController controller = null;

        if ((controller = FindObjectOfType <GunController>()) != null)
        {
            controller.AddGunTemporarily(this);
        }
    }