We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2e38f97 commit a55175cCopy full SHA for a55175c
Assets/CubismPoser/CubismPoser.cs
@@ -31,8 +31,13 @@ private void Awake()
31
32
if (TryGetComponent<CubismParametersInspector>(out var cubismInspector))
33
DestroyImmediate(cubismInspector);
34
-
+
35
+ if (!TryGetComponent(out _updateController))
36
+ _updateController = gameObject.AddComponent<CubismUpdateController>();
37
38
CubismUpdater(false);
39
40
+ _updateController.enabled = true;
41
_initialized = true;
42
}
43
else
@@ -61,9 +66,6 @@ private void CubismUpdater(bool state)
61
66
{
62
67
if (_model != null)
63
68
_model.enabled = state;
64
65
- if (_updateController != null)
- _updateController.enabled = state;
69
70
71
Assets/CubismPoser/VERSION.txt
@@ -1 +1 @@
1
-1.0.0
+1.0.1
0 commit comments