public void CmdInputNukeCode(GameObject nuke, string code) { NukeInteract nukeScript = nuke.GetComponent <NukeInteract>(); if (nukeScript != null) { nukeScript.Validate(code); } }
public void TryArm() { if (cooldown) { return; } if (NukeInteract.Validate()) { InfoDisplay.SetValue = "PREPARE TO DIE"; } else { StartCoroutine(ErrorCooldown()); } }