private void HandleDescriptionData(Data data) { dismissText.text = "- PRESS " + InputStringHelper.GetStringForInput(dismissInput) + " TO CONTINUE -"; if (PlatformUtil.GetPlatform() == Platform.XBOX_ONE) { description.text = ParseDescription(data.Info.xboxDescription); return; } description.text = ParseDescription(data.Info.defaultPromptDescription); }
void Awake() { startText.text = "press " + InputStringHelper.GetStringForInput(InputType.START); }
private void Start() { component.text = defaultPretext + InputStringHelper.GetStringForInput(inputType) + defaultPosttext; }
void Awake() { buttonImage.sprite = info.images.FirstOrDefault(i => i.platform == Application.platform)?.image; buttonText.text = InputStringHelper.GetStringForInput(inputType); actionText.text = inputType.ToString(); }