terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches

◆ UpdateGeometry()

void UnityEngine.UI.InputField.UpdateGeometry ( )
inlineprivate

Definition at line 1836 of file InputField.cs.

1837 {
1838 bool isSupported = TouchScreenKeyboard.isSupported;
1839 bool hideMobileInput;
1841 {
1842 RuntimePlatform platform = Application.platform;
1844 if (!hideMobileInput)
1845 {
1846 return;
1847 }
1848 }
1849 CanvasRenderer cachedInputRenderer = this.m_CachedInputRenderer;
1850 if (!hideMobileInput)
1851 {
1852 }
1853 Text textComponent = this.m_TextComponent;
1854 if (!hideMobileInput)
1855 {
1856 }
1857 string text = base.transform.name + " Input Caret";
1858 if (2304 == 0)
1859 {
1860 }
1861 Type type;
1862 Type type2;
1863 if ((type != null && type == null) || (type2 != null && type2 == null))
1864 {
1865 throw new ArrayTypeMismatchException();
1866 }
1867 Text textComponent2 = this.m_TextComponent;
1868 Transform parent = textComponent2.transform.parent;
1869 Transform transform;
1870 transform.SetParent(parent);
1871 Transform transform2;
1872 transform2.SetAsFirstSibling();
1873 int layer = base.gameObject.layer;
1874 RectTransform rectTransform;
1875 this.caretRectTrans = rectTransform;
1876 CanvasRenderer canvasRenderer;
1877 this.m_CachedInputRenderer = canvasRenderer;
1878 Text textComponent3 = this.m_TextComponent;
1879 if (textComponent2 == null)
1880 {
1881 }
1882 Material defaultGraphicMaterial = Graphic.defaultGraphicMaterial;
1883 Texture2D whiteTexture = Texture2D.whiteTexture;
1885 CanvasRenderer cachedInputRenderer2 = this.m_CachedInputRenderer;
1886 }
class f__AnonymousType0<< Count > j__TPar
void SetParent(Transform p)
Definition Transform.cs:162
static Material defaultGraphicMaterial
Definition Graphic.cs:22
CanvasRenderer m_CachedInputRenderer

References UnityEngine.UI.InputField.AssignPositioningIfNeeded(), UnityEngine.UI.Graphic.defaultGraphicMaterial, UnityEngine.TouchScreenKeyboard.isSupported, j__TPar, UnityEngine.UI.InputField.m_CachedInputRenderer, UnityEngine.UI.InputField.m_HideMobileInput, UnityEngine.UI.InputField.m_TextComponent, UnityEngine.UI.InputField.m_TouchKeyboardAllowsInPlaceEditing, UnityEngine.Transform.parent, UnityEngine.Application.platform, UnityEngine.Transform.SetAsFirstSibling(), UnityEngine.Transform.SetParent(), UnityEngine.UI.InputField.text, UnityEngine.UI.InputField.textComponent, UnityEngine.Component.transform, UnityEngine.UI.ICanvasElement.transform, and UnityEngine.Texture2D.whiteTexture.

Referenced by UnityEngine.UI.InputField.Rebuild().