public void OnInteract(object payload) { PhuneUI phune = FindObjectOfType <PhuneUI>(); phune.AddTempData(uplink); phune.SetDefaultTab(uplink.category); StartCoroutine(phune.ShowRoutine()); }
public void OnInteract(object payload) { PhuneUI phune = FindObjectOfType <PhuneUI>(); foreach (SlowFlashBehavior alerter in phune.tabsToTurnOff) { alerter.disable = false; } phune.AddData(program); phune.SetDefaultTab(program.category); StartCoroutine(phune.ShowRoutine()); Global.Instance().Memory.SetSwitch(SwitchName(), true); gameObject.SetActive(false); }