private void Update() { if (!built) { var rootElement = Element.Create(rootComponent.Create(), new PropCollection(new Dictionary <string, object>())); Reconciler.CreateElementTree(rootElement); Reconciler.InvokeBuilders(rootElement, this, this.transform); built = true; } Element.ClearElementCache(); SystemHook.Prepopulate(); ScreenSizeHook.Prepopulate(); MousePositionHook.Prepopulate(); PropCollection.FlushCallbacks(); RenderQueue.Instance.DoUnitOfWork(this, this.transform); }
protected override JobHandle OnUpdate(JobHandle inputDeps) { Props = new PropCollection(GetProps(ref inputDeps)); return(inputDeps); }