Question by 
               Vaell · Apr 23, 2017 at 12:28 PM · 
                scripting problemscripting beginner  
              
 
              How can I change script type of that? ;
I want to change Type of font of "True" part? Any suggestions ?
 public void checkAnswer(int    buttonNum)
            {
                if (allowSelection)
                {
                    if (buttonNum == currentQuestion.correctAnswerIndex)
                    {
                        print("TRUE");
                        numberOfCorrectAnswers++;
                        feedbackText.GetComponent<Text>().text    = "Correct";
                        feedbackText.GetComponent<Text>().color    = Color.green;
                        playerScore += pointsAddedForCorrectAnswer;
                        scoreDisplayText.text = "Score:" +    playerScore.ToString();
               Comment
              
 
               
              can you make it clearer.. do you want to change the font text? to strong texxt life bold or whatever?
I just wanted to change font type of text like "Arial, SansSerif" or something else...
ok... use ui text ins$$anonymous$$d. ui located in hierarchy right click in hierarchy ui and text... you can hide show text if you want to..
Answer by UnityCoach · Apr 23, 2017 at 12:40 PM
You can use Rich Text markups, although it's limited.
You need to import a font first, then you can select it from the assets when you click on the font property of the Text component.
Your answer
 
 
              koobas.hobune.stream
koobas.hobune.stream 
                       
                
                       
			     
			 
                