private void RenderMakeSelectionStaticButton()
 {
     if (GUILayout.Button(GetContentForMakeSelectionStaticButton(), GUILayout.Width(110.0f)))
     {
         List <GameObject> allSelectedObjects = ObjectSelection.Get().GetAllSelectedGameObjects();
         UndoEx.RecordForToolAction(allSelectedObjects);
         ObjectActions.MakeObjectsStatic(allSelectedObjects);
     }
 }
 private void RenderMakeActiveGroupStaticButton()
 {
     if (GUILayout.Button(GetContentForMakeActiveGroupStaticButton(), GUILayout.Width(100.0f)))
     {
         List <GameObject> allObjectsInActivegroup = _database.ActiveGroup.GroupObject.GetAllChildrenIncludingSelf();
         UndoEx.RecordForToolAction(allObjectsInActivegroup);
         ObjectActions.MakeObjectsStatic(allObjectsInActivegroup);
     }
 }