ZoeRobotIngles/Assets/Scripts/AnimeButtonSpeed/changeSpeeedButton.cs

20 lines
347 B
C#
Raw Normal View History

2026-01-26 22:56:16 +00:00
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class changeSpeeedButton : MonoBehaviour
{
Animator anime;
public float speed;
// Start is called before the first frame update
void Start()
{
anime = GetComponent<Animator>();
anime.SetFloat("speed", speed);
}
}