holopy3/Assets/Scripts/SlowerAnimation.cs
2020-12-10 15:25:12 +01:00

18 lines
325 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEditor;
using UnityEngine;
public class SlowerAnimation : MonoBehaviour
{
public float animSpeed;
private Animation anim;
void Start()
{
anim = GetComponent<Animation>();
anim["Take 001"].speed = animSpeed;
}
}