diff --git a/Editor/Extensions/AnimatorControllerExtensions.cs b/Editor/Extensions/AnimatorControllerExtensions.cs index 03994e9..b3c38c8 100644 --- a/Editor/Extensions/AnimatorControllerExtensions.cs +++ b/Editor/Extensions/AnimatorControllerExtensions.cs @@ -23,7 +23,7 @@ public static string[] GetAllBoolNames(this AnimatorController self) return self.GetParameterNamesOfType(AnimatorControllerParameterType.Bool); } - private static string[] GetAllTriggerNames(this AnimatorController self) + public static string[] GetAllTriggerNames(this AnimatorController self) { return self.GetParameterNamesOfType(AnimatorControllerParameterType.Trigger); } diff --git a/Runtime/Extensions/AnimatorExtensions.cs b/Runtime/Extensions/AnimatorExtensions.cs index 41b86c9..66cd229 100644 --- a/Runtime/Extensions/AnimatorExtensions.cs +++ b/Runtime/Extensions/AnimatorExtensions.cs @@ -24,7 +24,7 @@ public static string[] GetAllBoolNames(this Animator self) return self.GetParameterNamesOfType(AnimatorControllerParameterType.Bool); } - private static string[] GetAllTriggerNames(this Animator self) + public static string[] GetAllTriggerNames(this Animator self) { return self.GetParameterNamesOfType(AnimatorControllerParameterType.Trigger); } diff --git a/package.json b/package.json index 86bfb68..38681ee 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "com.tdw.better.commons", "displayName": "Better Commons", - "version": "0.0.20", + "version": "0.0.21", "unity": "2021.3", "description": " ", "dependencies": {