Skip to content

Commit e68cb07

Browse files
committed
update 1.0.4
1 parent 7fd95c8 commit e68cb07

9 files changed

Lines changed: 21 additions & 0 deletions
Binary file not shown.
Binary file not shown.

Assets/CVVTuberExample/CVVTuber/Addons/Live2DCubism3CVVTuber.unitypackage.meta

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Binary file not shown.
-11 Bytes
Binary file not shown.

Assets/CVVTuberExample/CVVTuber/Editor/CVVTuberExampleMenuItem.cs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ public static void SetCVVTuberSettings ()
2626
layer.iKPass = true;
2727
}
2828
}
29+
EditorUtility.SetDirty (animCon);
2930

3031
HeadLookAtIKController headLookAtIKController = FindObjectOfType<HeadLookAtIKController> ();
3132
if (headLookAtIKController != null) {
@@ -40,18 +41,24 @@ public static void SetCVVTuberSettings ()
4041
headLookAtIKController.lookAtTarget = lookAtTarget;
4142
}
4243
}
44+
45+
EditorUtility.SetDirty (headLookAtIKController);
4346
}
4447

4548
HeadRotationController headRotationController = FindObjectOfType<HeadRotationController> ();
4649
Undo.RecordObject (headRotationController, "Set head.transform to headRotationController.target");
4750
if (headRotationController != null) {
4851
headRotationController.target = cVVTuberModel.transform.Find ("Character001/hips/spine/chest/upper_chest/neck/head").transform;
52+
53+
EditorUtility.SetDirty (headRotationController);
4954
}
5055

5156
FaceBlendShapeController faceBlendShapeController = FindObjectOfType<FaceBlendShapeController> ();
5257
if (faceBlendShapeController != null) {
5358
Undo.RecordObject (faceBlendShapeController, "Set SkinnedMeshRenderer to faceBlendShapeController.FACE_DEF");
5459
faceBlendShapeController.FACE_DEF = cVVTuberModel.transform.Find ("FACE_DEF").GetComponent<SkinnedMeshRenderer> ();
60+
61+
EditorUtility.SetDirty (faceBlendShapeController);
5562
}
5663

5764
} else {

Assets/CVVTuberExample/CVVTuberExample.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
using UnityEngine.SceneManagement;
44
using UnityEngine;
55
using OpenCVForUnity.CoreModule;
6+
using System.Collections.Generic;
67

78
namespace CVVTuberExample
89
{
@@ -118,6 +119,11 @@ public void OnLive2DCubism2CVVTuberExampleButtonClick ()
118119
SceneManager.LoadScene ("Live2DCubism2CVVTuberExample");
119120
}
120121

122+
public void OnLive2DCubism3CVVTuberExampleButtonClick ()
123+
{
124+
SceneManager.LoadScene ("Live2DCubism3CVVTuberExample");
125+
}
126+
121127
public void OnVRMCVVTuberExampleButtonClick ()
122128
{
123129
SceneManager.LoadScene ("VRMCVVTuberExample");
2.52 KB
Binary file not shown.

Assets/CVVTuberExample/ReadMe.pdf

607 KB
Binary file not shown.

0 commit comments

Comments
 (0)