using UnityEngine; using UnityEngine.UIElements; namespace UnityEditor.VFX.UI { class VFXMatrix4x4Field : VFXControl { FloatField[,] m_FloatFields; void CreateTextField() { m_FloatFields = new FloatField[4, 4]; for (int i = 0; i < m_FloatFields.GetLength(0); ++i) { for (int j = 0; j < m_FloatFields.GetLength(1); ++j) { var newField = new FloatField($"{i}{j}"); m_FloatFields[i, j] = newField; newField.AddToClassList("fieldContainer"); newField.AddToClassList("fieldContainer"); newField.RegisterCallback>(OnFloatValueChanged); var label = newField.Q