using System; namespace FullscreenEditor { /// /// Utility callbacks for fullscreen state changes. /// public static class FullscreenCallbacks { /// /// Callback called before the views are restored to their original position. /// public static Action beforeFullscreenClose = (f) => { }; /// /// Callback called before the container for the fullscreen view is created and /// the views are moved between ContainerWindows. /// public static Action beforeFullscreenOpen = (f) => { }; /// /// Callback called in the OnDestroy method of the FullscreenContainer, after the /// views have been reverted to their orignal positions. /// public static Action afterFullscreenClose = (f) => { }; /// /// Callback called after the fullscreen is opened and everything is already set up. /// public static Action afterFullscreenOpen = (f) => { }; } }