MCPcopy Create free account
hub / github.com/TanTanDev/runity / UploadComponentTextmeshui

Method UploadComponentTextmeshui

unity/Runity/World.cs:117–123  ·  view source on GitHub ↗
(UInt64 a_identifierBits, string a_text)

Source from the content-addressed store, hash-verified

115 }
116
117 public void UploadComponentTextmeshui(UInt64 a_identifierBits, string a_text) {
118 //UnityEngine.Debug.Log(a_identifierBits + " tried to upload text: " + a_text);
119 if(m_gameObjects.TryGetValue(a_identifierBits, out var gameObject)) {
120 var text = gameObject.GetComponentFromId<TMPro.TextMeshProUGUI>(3);
121 text.text = a_text;
122 }
123 }
124
125 public void UploadComponentTransform(UInt64 a_identifierBits, CTransform a_transform) {
126 RustyGameObject gameObject;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected