// Pass execution context over to the Java UI thread. private void Start() { normalLocalPosition = inputField.anchoredPosition; handler = Component.FindObjectOfType <InputFieldHandler> (); panelRectTrans = inputField.GetComponent <RectTransform>(); panelHeightOriginal = panelRectTrans.rect.height; }
// Pass execution context over to the Java UI thread. void Start() { handler = Component.FindObjectOfType <InputFieldHandler> (); }