public EntityItem(VisualElementAsset entityAsset, FileInfo fileInfo) { EntityElement = entityAsset.GetElement("entity"); SetInformation(fileInfo); RegisterButtons(); }
public ProgressBar(string name) { if (_progressBarAsset == null) { _progressBarAsset = AssetManager.GetAsset <VisualElementAsset>("/modules/synthesis_core/UI/uxml/ProgressBar.uxml"); } ProgressBarElement = _progressBarAsset.GetElement(name); }