diff --git a/Assets/Fungus/Scripts/Components/FungusState.cs b/Assets/Fungus/Scripts/Components/FungusState.cs index af544577..71aabd6e 100644 --- a/Assets/Fungus/Scripts/Components/FungusState.cs +++ b/Assets/Fungus/Scripts/Components/FungusState.cs @@ -10,12 +10,15 @@ namespace Fungus /// so that the same Flowchart can be displayed while editing & playing. /// [AddComponentMenu("")] - public class FungusState : MonoBehaviour, IFungusState + public class FungusState : MonoBehaviour { [SerializeField] protected Flowchart selectedFlowchart; - #region IFungusState implementation + #region Public methods + /// + /// The currently selected Flowchart. + /// public virtual Flowchart SelectedFlowchart { get { return selectedFlowchart; } set { selectedFlowchart = value; } } #endregion diff --git a/Assets/Fungus/Scripts/Interfaces/IFungusState.cs b/Assets/Fungus/Scripts/Interfaces/IFungusState.cs deleted file mode 100644 index 31456586..00000000 --- a/Assets/Fungus/Scripts/Interfaces/IFungusState.cs +++ /dev/null @@ -1,17 +0,0 @@ -using UnityEngine; -using System.Collections; - -namespace Fungus -{ - /// - /// Used by the Flowchart window to serialize the currently active Flowchart object - /// so that the same Flowchart can be displayed while editing & playing. - /// - public interface IFungusState - { - /// - /// The currently selected Flowchart. - /// - Flowchart SelectedFlowchart { get; set; } - } -} \ No newline at end of file diff --git a/Assets/Fungus/Scripts/Interfaces/IFungusState.cs.meta b/Assets/Fungus/Scripts/Interfaces/IFungusState.cs.meta deleted file mode 100644 index 50745bf6..00000000 --- a/Assets/Fungus/Scripts/Interfaces/IFungusState.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 36cb688eedcc4436780e68405a4ba494 -timeCreated: 1474015940 -licenseType: Free -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: