Skip to content

Instantly share code, notes, and snippets.

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Playables;
using UnityEngine.Animations;
public class LayerAnimation : MonoBehaviour {
PlayableGraph graph;
AnimationMixerPlayable mixer;
@goodzsq
goodzsq / SimpleAnimator.cs
Created June 25, 2019 07:16 — forked from tsubaki/SimpleAnimator.cs
Animatorでアニメーションを再生する
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Playables;
using UnityEngine.Animations;
using UnityEngine.Timeline;
[RequireComponent(typeof(Animator))]
[DisallowMultipleComponent]
public class SimpleAnimator : MonoBehaviour