Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
1
Question by FrozenHouse123 · Jul 15, 2014 at 11:22 PM · guicustomtextfield

Custom-made GUI Textfield

Hello, I have a simple question: is there any way in which I can make a custom textfield in unity? For an example, this game youtube.com/watch?v=hDGkXaZ9bNI uses a custom textfield on login. Thanks in advance.

Comment
Add comment · Show 4
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image robertbu · Jul 15, 2014 at 11:24 PM 0
Share

Are you talking about the custom font, or the way the UI shifts? What is done here is fairly straight forward in third-party tools like EZGUI and NGUI. You can specify the font for GUI input. You might be able to get the movement by modifying the GUI.matrix.

avatar image FrozenHouse123 · Jul 15, 2014 at 11:41 PM 0
Share

I don't quite know what are those tools (EZGUI/NGUI), all I'm looking for is a way to change the custom box that everyone recognizes as Unity's standard GUI and change the font of the letters displayed.

avatar image robertbu · Jul 15, 2014 at 11:42 PM 0
Share

Research GUIStyle and GUISkin.

avatar image Firedan1176 · Jul 15, 2014 at 11:48 PM 0
Share

If you're talking about the looks, you can do this:

  1. Hide the default text area

  2. Place a texture behind it that looks cool (has no function)

The text field will work still, but it won't show the default.

To hide the default text field (border, background etc) do this:

 someString = GUILayout.TextField(new Rect(0, 0, 100, 100), "Label");

Adding label will hide the background. Next just place a fancy graphic you design behind it!

If you want to rotate it, you can use an actual object and have it rotate.

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by FrozenHouse123 · Jul 16, 2014 at 12:08 AM

Ok, I'll research. Thanks!

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

3 People are following this question.

avatar image avatar image avatar image

Related Questions

Lock a textarea/textfield for editing 1 Answer

A node in a childnode? 1 Answer

Custom GUI Button is Black 1 Answer

How do Text Fields work? (Backend) 1 Answer

GUILayout.Label - why messages are appearing on each other? 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges