Exemplo n.º 1
0
 public WidgetsBinding()
 {
     this.buildOwner.onBuildScheduled = this._handleBuildScheduled;
     Window.instance.onLocaleChanged += this.handleLocaleChanged;
     this.widgetInspectorService      = new WidgetInspectorService(this);
     this.addPersistentFrameCallback((duration) => {
         MeshGenerator.tickNextFrame();
         TessellationGenerator.tickNextFrame();
     });
 }
Exemplo n.º 2
0
 public WidgetsBinding(bool inEditorWindow = false) : base(inEditorWindow)
 {
     this.buildOwner.onBuildScheduled = this._handleBuildScheduled;
     Window.instance.onLocaleChanged += this.handleLocaleChanged;
     this.widgetInspectorService      = new WidgetInspectorService(this);
     this.addPersistentFrameCallback((duration) => {
         TextBlobMesh.tickNextFrame();
         TessellationGenerator.tickNextFrame();
         uiTessellationGenerator.tickNextFrame();
         uiPathCacheManager.tickNextFrame();
     });
 }