Answers for "unity animation 2d c#"

C#
0

unity animation 2d c#

using UnityEngine;
using System.Collections;public class ExampleClass : MonoBehaviour
{
    public Animation anim;    void Start()
    {
        anim = GetComponent<Animation>();
        foreach (AnimationState state in anim)
        {
            state.speed = 0.5F;
        }
    }
}
Posted by: Guest on February-11-2021

C# Answers by Framework

Browse Popular Code Answers by Language