Quantcast
Channel: Unity Forum
Viewing all articles
Browse latest Browse all 1466670

Assign value to Input field

$
0
0
Hi all,

I am working with latest version of unity and have problems with assigning value to an Input filed from script. I made a custom inspector window. There I have one textbox. A made UI Input field in scene as well. My goal is that if I something write into textbox in the custom inspector window I'd like to see that text in Input field in the scene.

In inspector window I have something like:
Code (CSharp):
  1. [CustomEditor(typeof(InitFormObject))]
  2. public class InitFormEditor : Editor {...
Assign value to Input field

Viewing all articles
Browse latest Browse all 1466670

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>