Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
C#
unity how to change the text on a button
developerwjk
Programming language:
C#
2021-05-26 09:09:46
0
Q:
unity how to change the text on a button
Scott Severance
Code:
C#
2021-03-15 12:38:34
GameObject.Find("Button Name").GetComponentInChildren<Text>().text = "Button Text";
2
Tags
unity
change
text
how
button
Related
how to change scenes in unity
unity change text color
how to change textMesh Pro unity
unity change text
unity text change percentage
unity how to change text in script
how to make a button turn on and off and object unity
unity set text value
how to change text to bold through script unity
New to Communities?
Join the community