MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / Initialize

Method Initialize

Source/Editor/CustomEditors/CustomEditor.cs:121–137  ·  view source on GitHub ↗
(CustomEditorPresenter presenter, LayoutElementsContainer layout, ValueContainer values)

Source from the content-addressed store, hash-verified

119 public LayoutElementsContainer Layout => _layout;
120
121 internal virtual void Initialize(CustomEditorPresenter presenter, LayoutElementsContainer layout, ValueContainer values)
122 {
123 _layout = layout;
124 _presenter = presenter;
125 _values = values;
126
127 var prev = CurrentCustomEditor;
128 CurrentCustomEditor = this;
129
130 _isSetBlocked = true;
131 Initialize(layout);
132 ShowButtons();
133 Refresh();
134 _isSetBlocked = false;
135
136 CurrentCustomEditor = prev;
137 }
138
139 private void ShowButtons()
140 {

Callers 1

ObjectMethod · 0.45

Calls 1

InitializeFunction · 0.50

Tested by

no test coverage detected