From ae24762cad716e89b4eed7e5bfbd1ab2179a21a4 Mon Sep 17 00:00:00 2001 From: OpOpYaDev Date: Mon, 15 Jul 2024 18:53:12 +0000 Subject: [PATCH] Merge pull request #24 from techno-dwarf-works/feature/refactoring Version 0.0.21 --- Editor/Extensions/AnimatorControllerExtensions.cs | 2 +- Runtime/Extensions/AnimatorExtensions.cs | 2 +- package.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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": {