You've already forked Dpr-ScriptsOnly
mirror of
https://github.com/izzy2lost/Dpr-ScriptsOnly.git
synced 2026-03-10 11:49:05 -07:00
21 lines
445 B
C#
21 lines
445 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
public class FieldAnimeCamera : MonoBehaviour
|
|
{
|
|
public static FieldAnimeCamera instance;
|
|
|
|
private Camera _camera;
|
|
private Animator _animator;
|
|
private bool _isPlay;
|
|
private Transform transform;
|
|
private string assetbundleName;
|
|
|
|
public void Play(string statename)
|
|
{
|
|
_animator.Play(statename);
|
|
_isPlay = true;
|
|
}
|
|
}
|