Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 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
0
Question by Paulennonzepplien · Aug 10, 2017 at 12:02 AM · javascripthtml5text editor

How to make a text editor in unity ? Please help me urgently

Please pleaseeeeeee help me ! I TRIED HTML AND JAVASCRIPT BUT THE 3D MODELS WONOT LOAD SO I WENT TO UNITY AND I CANOT EMBED HTML because it seeems that there are no more frameworks that supports embedding html in unity.I just want to load a code editor in the scene or a text editor ! NOthing else ! can anyone please help because i am just 2 inches away from killing myself because this stop idea

Comment
Add comment · Show 1
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 bobisgod234 · Aug 10, 2017 at 07:15 AM 1
Share

You can use the GUI elements (either I$$anonymous$$GUI or the newer GUI system) to make a very simple text editor. It will allow you to edit text. You haven't really stated what you want this text editor to do though, or why you want a text editor, or even generally what you are trying to accomplish.

2 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by adrienPlayerium · Aug 10, 2017 at 12:08 AM

https://docs.unity3d.com/ScriptReference/UI.TextEditor.html

Don't kill yourself just yet >,<

Comment
Add comment · Show 3 · 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
avatar image Paulennonzepplien · Aug 10, 2017 at 12:13 AM 0
Share

i think you didn't understand me,or i am not being clear. I want to "embed" a code editor in the scene. Like ace editor or codemirror.I want it to be part of the game

avatar image adrienPlayerium Paulennonzepplien · Aug 10, 2017 at 08:58 AM 0
Share

I think he want to make a smart font bit like in notepad++ or something like that... I am not sure about HT$$anonymous$$L in unity, but he might want to use RichText , it can give a similar feeling

avatar image Paulennonzepplien adrienPlayerium · Aug 10, 2017 at 03:05 PM 0
Share

yes yes yes i want to use something like notepad++ ! but i want it to be in the scene ! It 's a part of the game and i donot want it in the inspector only the scene ,can you help me?

avatar image
0

Answer by Bunny83 · Aug 13, 2017 at 12:28 PM

If you want a simple text editor, just use an InputField when you want to use the new UI system or simply use GUILayout.TextArea inside OnGUI if you prefer the imgui system.

If you use the InputField make sure you set multiLine to true.

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

114 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Can't connect to Web socket, connection refused Unity WebGL 0 Answers

Setting Scroll View Width GUILayout 1 Answer

D3 Javascript template in Unity 0 Answers

Communication between WebGL and .jslib 1 Answer

Printing "console.log" from an index.html file 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