diff --git a/Torch.API/ITorchBase.cs b/Torch.API/ITorchBase.cs index 52e9428..ba3939f 100644 --- a/Torch.API/ITorchBase.cs +++ b/Torch.API/ITorchBase.cs @@ -1,4 +1,5 @@ using System; +using System.ComponentModel; using System.Runtime.CompilerServices; using System.Threading.Tasks; using Microsoft.Extensions.Configuration; @@ -140,6 +141,22 @@ namespace Torch.API event Action Initialized; TimeSpan ElapsedPlayTime { get; set; } + + #region Backwards compat + + /// + /// Path of the dedicated instance folder. + /// + [EditorBrowsable(EditorBrowsableState.Never)] + new string InstancePath => ((ITorchBase)this).InstancePath; + + /// + /// Name of the dedicated instance. + /// + [EditorBrowsable(EditorBrowsableState.Never)] + new string InstanceName => ((ITorchBase)this).InstanceName; + + #endregion } ///