using UnityEngine; public class EX4 : MonoBehaviour { public int munition ; public bool pack = true; // Start is called once before the first execution of Update after the MonoBehaviour is created void Start() { if(munition <= 10 && munition > 0 || pack) { print("low ammo, shoot ok"); } else if(munition > 10 || pack) { print("shoot ok"); } else { print("out of ammo"); } if(pack) { print("infinity bullet for 5min"); } } // Update is called once per frame void Update() { } }