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

@@ -1,37 +0,0 @@
// Copyright (c) 2012-2021 Wojciech Figat. All rights reserved.
using System;
namespace FlaxEngine
{
/// <summary>
/// Interface for scene objects that unifies various properties used across actors and scripts.
/// </summary>
public interface ISceneObject
{
/// <summary>
/// Gets the scene object which contains this object.
/// </summary>
Scene Scene { get; }
/// <summary>
/// Gets a value indicating whether this object has a valid linkage to the prefab asset.
/// </summary>
bool HasPrefabLink { get; }
/// <summary>
/// Gets the prefab asset ID. Empty if no prefab link exists.
/// </summary>
Guid PrefabID { get; }
/// <summary>
/// Gets the ID of the object within a object that is used for synchronization with this object. Empty if no prefab link exists.
/// </summary>
Guid PrefabObjectID { get; }
/// <summary>
/// Breaks the prefab linkage for this object (including all children).
/// </summary>
void BreakPrefabLink();
}
}

View File

@@ -1,15 +0,0 @@
// Copyright (c) 2012-2021 Wojciech Figat. All rights reserved.
namespace FlaxEngine
{
/// <summary>
/// Interface for objects that can be transformed.
/// </summary>
public interface ITransformable
{
/// <summary>
/// Gets or sets the transform.
/// </summary>
Transform Transform { get; set; }
}
}