using JetBrains.Annotations; using System; namespace Unity.Tutorials.Core.Editor { /// /// This is a template class for new Models /// [Serializable] internal class EmptyModel : IModel { /// public event Action StateChanged; /// public void OnStart() { } /// public void OnStop() { } /// public void RestoreState([NotNull] IWindowCache cache) { StateChanged?.Invoke(); } /// public void SaveState([NotNull] IWindowCache cache) { } } }