move rigidbody info to dedicated info group in Properties Panel
This commit is contained in:
@@ -93,7 +93,8 @@ namespace FlaxEditor.CustomEditors.Dedicated
|
|||||||
// Add info box
|
// Add info box
|
||||||
if (IsSingleObject && Values[0] is RigidBody && Editor.IsPlayMode)
|
if (IsSingleObject && Values[0] is RigidBody && Editor.IsPlayMode)
|
||||||
{
|
{
|
||||||
_infoLabel = layout.Label(string.Empty).Label;
|
var group = layout.Group("Info");
|
||||||
|
_infoLabel = group.Label(string.Empty).Label;
|
||||||
_infoLabel.AutoHeight = true;
|
_infoLabel.AutoHeight = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user