Remove deprecated and unused ISceneObject and ITransformable

This commit is contained in:
Wojtek Figat
2021-02-15 12:09:46 +01:00
parent b6557cb15c
commit 788907f3b1
8 changed files with 8 additions and 60 deletions

View File

@@ -206,7 +206,7 @@ namespace FlaxEditor.CustomEditors.Dedicated
node.Text = CustomEditorsUtil.GetPropertyNameUI(removed.PrefabObject.GetType().Name);
}
// Actor or Script
else if (editor.Values[0] is ISceneObject sceneObject)
else if (editor.Values[0] is SceneObject sceneObject)
{
node.TextColor = sceneObject.HasPrefabLink ? FlaxEngine.GUI.Style.Current.ProgressNormal : FlaxEngine.GUI.Style.Current.BackgroundSelected;
node.Text = CustomEditorsUtil.GetPropertyNameUI(sceneObject.GetType().Name);