private void DisplayProperty(float indent, SimulationProperty property, SimulationObject context)
        {
            int propertyIndex = context.GetPropertyIndex(property.Name);

            context.DebugInfo.SetPropertyContent(propertyIndex, this.IndentedToggle(indent, context.DebugInfo.DisplayPropertyContent(propertyIndex), "{0} = <color=orange>{1}</color> {2}", new object[]
            {
                property.Name,
                property.Value,
                (!context.IsPropertyDirty(property.Name)) ? string.Empty : "<size=11><color=red>(Dirty)</color></size>"
            }));
            if (context.DebugInfo.DisplayPropertyContent(propertyIndex))
            {
                indent += 20f;
                UnityEngine.GUILayout.BeginVertical(new GUILayoutOption[0]);
                this.IndentedLabel(indent, "<size=11><color=grey>Index: <b>{0}</b></color></size>", new object[]
                {
                    context.GetPropertyIndex(property.Name)
                });
                this.IndentedLabel(indent, "BaseValue:", " <b>{0}</b>", new object[]
                {
                    property.BaseValue
                });
                this.IndentedLabel(indent, "Value:", " <b>{0}</b>", new object[]
                {
                    property.Value
                });
                if (property.InternalPropertyDescriptor.Composition != SimulationPropertyComposition.None)
                {
                    this.IndentedLabel(indent, "Composition:", " <b>{0}</b>", new object[]
                    {
                        property.PropertyDescriptor.Composition.ToString()
                    });
                }
                string text  = (property.PropertyDescriptor.MinValue != float.MinValue) ? ("[" + property.PropertyDescriptor.MinValue.ToString("F")) : "]-inf";
                string text2 = (property.PropertyDescriptor.MaxValue != float.MaxValue) ? (property.PropertyDescriptor.MaxValue.ToString("F") + "]") : "inf[";
                this.IndentedLabel(indent, "Range:", " <b>{0},{1}</b>", new object[]
                {
                    text,
                    text2
                });
                UnityEngine.GUILayout.EndVertical();
                Diagnostics.Assert(property.ModifierProviders != null);
                if (property.ModifierProviders.Count > 0)
                {
                    context.DebugInfo.SetPropertyModifier(propertyIndex, this.IndentedToggle(indent, context.DebugInfo.DisplayPropertyModifier(propertyIndex), "<b>Modifiers</b>", new object[0]));
                    if (context.DebugInfo.DisplayPropertyModifier(propertyIndex))
                    {
                        indent += 20f;
                        for (int i = 0; i < property.ModifierProviders.Count; i++)
                        {
                            this.DisplayModifier(indent, property.ModifierProviders.Data[i], context);
                        }
                        indent -= 20f;
                    }
                }
                indent -= 20f;
            }
        }