|
override void | OnDestroy () |
|
virtual void | OnEnable () |
|
virtual void | OnBeforeSerialize () |
|
virtual void | OnAfterDeserialize () |
| This base implementation guarantees that the Instance field will always point to the deserialized version. Without this, the ordering of callbacks can cause two instances of a window to exist and both instances to be incorrectly initialized.
|
|
void | BuildWithDefaultContext () |
| Implement this instead of OnEnable. The OnEnable implementation for BeamEditorWindow<T> contains the guard described in BeamEditor.DelayedInitializationCall. More...
|
|
void | BuildWithContext (string code) |
| Overload of BuildWithContext(BeamEditorContext) that uses the given code and BeamEditorContext.ForEditorUser(string) to find the BeamEditorContext instance to rebuild with.
|
|
void | BuildWithContext (int index) |
| Overload of BuildWithContext(BeamEditorContext) that uses the given index and BeamEditorContext.ForEditorUser(int) to find the BeamEditorContext instance to rebuild with.
|
|
void | BuildWithContext (BeamEditorContext context=null) |
| Rebuilds the window's entire content. If it cares about whether or not the given context is/isn't authenticated, it'll invoke either Build or BuildWhenNotAuthenticated. If the given context is null, it will rebuild with the current ActiveContext. More...
|
|
|
static async void | Init () |
|
static async void | Init (BeamEditorWindowInitConfig initParameters) |
|
static async Task< TWindow > | GetFullyInitializedWindow () |
| Creates, initializes then waits for the window instance to be completely ready for use before returning that instance. See FullyInitializedWindowPromise to understand why this is necessary.
|
|
static async Task< TWindow > | GetFullyInitializedWindow (BeamEditorWindowInitConfig config) |
| Creates, initializes then waits for the window instance to be completely ready for use before returning that instance. See FullyInitializedWindowPromise to understand why this is necessary.
|
|
|
override void | Build () |
|
virtual void | BuildWhenNotAuthenticated () |
|
|
BeamEditorWindowInitConfig | InitializedConfig |
| The BeamEditorWindowInitConfig<TWindow> struct that was used to initialize this window.
|
|
Promise | FullyInitializedWindowPromise |
| A promise that gets completed when the window finishes running it's OnEnable method. Await this to guarantee the BeamEditorWindow<TWindow> instance is completely initialized. TODO: We shouldn't really need this. We have it now as a lot of the Model initialization happens during Window initialization. This model is then accessed, through the window instance, in certain parts TODO: of the code-base. This is a problem in certain Unity-event flows causing the model to not be initialized due to the window that manages it not being initialized when its accessed. TODO: In order to keep this current flow working and not have to refactor everything at once, we have this promise and GetFullyInitializedWindow(). TODO: This allows us to keep the current flow, but enables us to incrementally move away from this pattern of initializing System/Model instances inside the window initialization.
|
|
BeamEditorContext | ActiveContext |
| Reference to the current BeamEditorContext that is feeding this window with data.
|
|
static async Task | InitBeamEditorWindow (BeamEditorWindowInitConfig config) |
| Function that initializes a window based on it's given config . More...
|
|
static BeamEditorWindowInitConfig | WindowDefaultConfig |
| The default BeamEditorWindowInitConfig<TWindow> struct that is used when initializing this window via GetFullyInitializedWindow.
|
|
static BeamEditorInitializedDelayClause | CustomDelayClause |
| Static function to be set on any sub-type's initialization. It's used to add constraints to the generic-constrained version of this type's BeamEditor.DelayedInitializationCall.
|
|
static bool | IsInstantiated [getprotected set] |
| Whether or not the current window is instantiated. TODO: once we no longer support Unity 2018, change this into HasOpenInstance<TWindow>.
|
|
◆ Build()
override void Beamable.Editor.UI.Buss.BussThemeManager.Build |
( |
| ) |
|
|
inlineprotectedvirtual |
◆ OnDestroy()
override void Beamable.Editor.UI.Buss.BussThemeManager.OnDestroy |
( |
| ) |
|
|
inlinevirtual |
The documentation for this class was generated from the following file:
- com.beamable/Editor/UI/Buss/ThemeManager/BussThemeManager.cs