19 lines
325 B
C#
19 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;
|
|||
|
}
|
|||
|
|
|||
|
}
|