Пример #1
0
        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);
        }
Пример #2
0
 void Awake()
 {
     startText.text = "press " + InputStringHelper.GetStringForInput(InputType.START);
 }
Пример #3
0
 private void Start()
 {
     component.text = defaultPretext + InputStringHelper.GetStringForInput(inputType) + defaultPosttext;
 }
Пример #4
0
 void Awake()
 {
     buttonImage.sprite = info.images.FirstOrDefault(i => i.platform == Application.platform)?.image;
     buttonText.text    = InputStringHelper.GetStringForInput(inputType);
     actionText.text    = inputType.ToString();
 }