mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-02-06 00:39:55 +00:00
gorbo
This commit is contained in:
parent
4ac662b6ae
commit
5c56b12639
@ -79,7 +79,7 @@ public class AnimatorMirror : MonoBehaviour
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case AnimatorControllerParameterType.Trigger:
|
case AnimatorControllerParameterType.Trigger:
|
||||||
if (_from.GetBool(fromParam.name))
|
if (_from.GetBool(fromParam.name) && !_to.GetBool(fromParam.name))
|
||||||
{
|
{
|
||||||
_to.SetTrigger(fromParam.name);
|
_to.SetTrigger(fromParam.name);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user