upgrade CCK to v3.5
This commit is contained in:
parent
6fe98b333d
commit
3005cfc8aa
43 changed files with 1213 additions and 289 deletions
|
@ -105,6 +105,9 @@ namespace ABI.CCK.Scripts.Editor
|
|||
|
||||
_avatar.visemeMode = (CVRAvatar.CVRAvatarVisemeMode) EditorGUILayout.EnumPopup("Lip Sync Mode", _avatar.visemeMode);
|
||||
|
||||
if (_avatar.visemeMode == CVRAvatar.CVRAvatarVisemeMode.Visemes)
|
||||
_avatar.visemeSmoothing = EditorGUILayout.IntSlider("Viseme Smoothing", _avatar.visemeSmoothing, 0, 100);
|
||||
|
||||
if (_avatar.visemeBlendshapes == null || _avatar.visemeBlendshapes.Length != _visemeNames.Length)
|
||||
_avatar.visemeBlendshapes = new string[_visemeNames.Length];
|
||||
|
||||
|
@ -153,7 +156,7 @@ namespace ABI.CCK.Scripts.Editor
|
|||
|
||||
if (_avatar.enableAdvancedTagging)
|
||||
{
|
||||
EditorGUILayout.HelpBox("Attention! If you are using the Advanced Tagging System, you still need to Tag your Avatar appropriately and Set all affected GameObjects here.", MessageType.Warning);
|
||||
EditorGUILayout.HelpBox("If you are using the Advanced Tagging System, you do not need to Tag your Avatar appropriately if you mark all affected GameObjects here.", MessageType.Info);
|
||||
|
||||
if (taggingList == null) InitializeTaggingList();
|
||||
taggingList.DoLayoutList();
|
||||
|
@ -429,7 +432,7 @@ namespace ABI.CCK.Scripts.Editor
|
|||
float height = 10.50f;
|
||||
if (gameObjectToggle.useAnimationClip)
|
||||
{
|
||||
height -= 1.25f;
|
||||
//height -= 1.25f;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -781,6 +784,15 @@ namespace ABI.CCK.Scripts.Editor
|
|||
_rect.x += 100;
|
||||
_rect.width = rect.width - 100;
|
||||
gameObjectToggle.animationClip = (AnimationClip)EditorGUI.ObjectField(_rect, gameObjectToggle.animationClip, typeof(AnimationClip), true);
|
||||
|
||||
rect.y += EditorGUIUtility.singleLineHeight * 1.25f;
|
||||
_rect = new Rect(rect.x, rect.y, 100, EditorGUIUtility.singleLineHeight);
|
||||
|
||||
// Animation Clip Slot
|
||||
EditorGUI.LabelField(_rect, "Off Clip");
|
||||
_rect.x += 100;
|
||||
_rect.width = rect.width - 100;
|
||||
gameObjectToggle.offAnimationClip = (AnimationClip)EditorGUI.ObjectField(_rect, gameObjectToggle.offAnimationClip, typeof(AnimationClip), true);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue