You've already forked taptap2024_GJ_chidouren
增加boss 出场cg
This commit is contained in:
17
Assets/Scripts/Game/Component/AnimatorStateUpdate.cs
Normal file
17
Assets/Scripts/Game/Component/AnimatorStateUpdate.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
using System;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Game.Component
|
||||
{
|
||||
public class AnimatorStateUpdate : MonoBehaviour
|
||||
{
|
||||
public Animator Animator;
|
||||
public string stateName = "state";
|
||||
public int state;
|
||||
|
||||
private void Update ()
|
||||
{
|
||||
this.Animator.SetInteger (this.stateName , this.state);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 811b7250fe3c47af948b28ad91ee042d
|
||||
timeCreated: 1729872108
|
||||
Reference in New Issue
Block a user