Exemple #1
0
        public static bool HasCondition(this AnimatorStateTransition obj, string parameter, AnimatorConditionMode mode, float threshold)
        {
            var condition = new AnimatorCondition {
                parameter = parameter, mode = mode, threshold = threshold
            };

            return(obj.HasCondition(condition));
        }