Merge branch 'master' into 1.8

This commit is contained in:
Wojtek Figat
2024-01-05 17:13:51 +01:00
49 changed files with 619 additions and 261 deletions

View File

@@ -22,6 +22,22 @@ namespace FlaxEditor.Content
/// </summary>
public abstract string TypeName { get; }
/// <summary>
/// Gets a value indicating whether this instance is virtual Proxy not linked to any asset.
/// </summary>
protected virtual bool IsVirtual { get; }
/// <summary>
/// Determines whether [is virtual proxy].
/// </summary>
/// <returns>
/// <c>true</c> if [is virtual proxy]; otherwise, <c>false</c>.
/// </returns>
public bool IsVirtualProxy()
{
return IsVirtual && CanExport == false;
}
/// <summary>
/// Checks if this proxy supports the given asset type id at the given path.
/// </summary>