@vived/app 4.6.0 → 4.6.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -24,15 +24,11 @@ class SerializeSceneRootImp extends SerializeSceneRoot {
|
|
|
24
24
|
this.seriliziationVersion = 2;
|
|
25
25
|
this.sceneRoot = appObject.getComponent(SceneRootEntity_1.SceneRootEntity.type);
|
|
26
26
|
if (!this.sceneRoot) {
|
|
27
|
-
this.warn("SerializeSceneRoot UC has been added to an App Object that does not have a SceneRoot Entity. Add one before adding the UC");
|
|
27
|
+
this.warn("SerializeSceneRoot UC has been added to an App Object that does not have a SceneRoot Entity. Add one before adding the UC.");
|
|
28
28
|
this.dispose();
|
|
29
29
|
return;
|
|
30
30
|
}
|
|
31
|
-
this.storedView = appObject.getComponent(StoredView_1.StoredView.type);
|
|
32
|
-
if (!this.storedView) {
|
|
33
|
-
this.warn("SerializeSceneRoot UC has been added to an App Object that does not have a StoredView Entity. Stored view won't work until one is added to the UC");
|
|
34
|
-
return;
|
|
35
|
-
}
|
|
31
|
+
this.storedView = appObject.getComponent(StoredView_1.StoredView.type); // StoreView is optional
|
|
36
32
|
this.stateMachine = StateMachineEntity_1.StateMachineEntity.get(appObject.appObjectRepo);
|
|
37
33
|
if (this.stateMachine) {
|
|
38
34
|
this.stateMachine.registerSerializedSystem(this);
|