Skip to content

Commit

Permalink
[GestureManager 3.8.8] Release~
Browse files Browse the repository at this point in the history
  • Loading branch information
BlackStartx committed Dec 8, 2023
1 parent 01901e0 commit 0cddaaa
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .v3rsion
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
3.8.7
https://github.com/BlackStartx/VRC-Gesture-Manager/releases/tag/v3.8.7
3.8.8
https://github.com/BlackStartx/VRC-Gesture-Manager/releases/tag/v3.8.8
8 changes: 6 additions & 2 deletions Scripts/Runtime/Data/ModuleBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,16 @@ protected ModuleBase(GmgAvatarDescriptor avatarDescriptor)

public virtual bool IsInvalid() => !Avatar || !AvatarAnimator || !_avatarDescriptor;

protected virtual List<string> CheckWarnings() => new List<string>();
protected virtual List<string> CheckWarnings()
{
var warnings = new List<string>();
if (GestureManager.ControlledAvatars.ContainsKey(Avatar)) warnings.Add("- The avatar is already controlled by another Gesture Manager!");
return warnings;
}

protected virtual List<string> CheckErrors()
{
var errors = new List<string>();
if (GestureManager.ControlledAvatars.ContainsKey(Avatar)) errors.Add("- The avatar is already controlled by another Gesture Manager!");
if (!Avatar) errors.Add("- The GameObject has been deleted!");
else if (!Avatar.activeInHierarchy) errors.Add("- The GameObject is disabled!");
if (!AvatarAnimator) errors.Add("- The model doesn't have any animator!");
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"name" : "vrchat.blackstartx.gesture-manager",
"displayName" : "Gesture Manager",
"version" : "3.8.7",
"version" : "3.8.8",
"unity" : "2019.4",
"description" : "A tool that will help you preview your VRChat Avatar animation directly in Unity.",
"type" : "tool",
"url" : "https://github.com/BlackStartx/VRC-Gesture-Manager/archive/refs/tags/v3.8.7.zip",
"url" : "https://github.com/BlackStartx/VRC-Gesture-Manager/archive/refs/tags/v3.8.8.zip",
"author" : {
"name" : "BlackStartx",
"email" : "[email protected]",
Expand All @@ -15,6 +15,6 @@
"Assets\\GestureManager" : "73dec07c46a7d41409b0c389860fb28e"
},
"vpmDependencies" : {
"com.vrchat.avatars" : "3.2.x || 3.3.x || 3.4.x"
"com.vrchat.avatars" : "3.2.x || 3.3.x || 3.4.x || 3.5.x"
}
}

0 comments on commit 0cddaaa

Please sign in to comment.