Q28.webp
T

Q28.webp

Kizspy Question: 28
(Choose 1 answer)
What does this script do?
using UnityEngine;
public class AnimationController: MonoBehaviour {
private Animator animator;
void Update() {
float speed = Input.GetAxis("Horizontal");
animator.SetFloat("Speed", Mathf.Abs(speed));
A. Applies a directional force proportional to horizontal input
B. Sets an animation parameter based on player movement
C. Shifts the GameObject's positional coordinates along the X-axis
D. Outputs the horizontal input value to the debugging console

Thông tin

Category
FGU301
Thêm bởi
thuyhoa276
Ngày thêm
Lượt xem
174
Lượt bình luận
1
Rating
0.00 star(s) 0 đánh giá

Share this media

Back
Bên trên Bottom