public unsafe int PushValueToArray(FixedString4096 value)
        {
            AddCommaIfRequired();
            ValidateInArray();
            int             index = m_Stack.Peek();
            FixedString4096 str   = $"\"{value}\"";

            m_Buffer.Append(str.GetUnsafePtr(), str.Length);
            m_Stack.IncrementTop();
            return(index);
        }
示例#2
0
 public unsafe void Draw(FixedString4096 text, Matrix4x4 transform, Color color) => Draw(text.GetUnsafePtr(), text.Length, transform, color);