增加boss 出场cg

This commit is contained in:
2024-10-26 01:38:30 +08:00
parent 524c3afbc6
commit b86887ce09
85 changed files with 75380 additions and 227 deletions

View 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);
}
}
}

View File

@@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: 811b7250fe3c47af948b28ad91ee042d
timeCreated: 1729872108

View File

@@ -37,7 +37,7 @@ namespace System
{
if (stateChange == PlayModeStateChange.EnteredPlayMode)
{
GameStateManager.Instance.Active(StateSystem.GameGlobalState.GameBegin);
// GameStateManager.Instance.Active(StateSystem.GameGlobalState.GameBegin);
}
}

View File

@@ -6,6 +6,7 @@ using Game.Component;
using UnityEngine;
using UnityEngine.UI;
using IcecreamView;
using MintAnimation.Runtime.Components.MintAnimation;
using Script.Core.Utils.Extend;
using StateSystem;
using UnityEngine.Playables;
@@ -14,9 +15,10 @@ namespace Views{
public class HomePanel : IcecreamView.IC_AbstractModule
{
public Button _toGame;
public Button _settingGame;
public Button _aboutGame;
public Button _toGame;
public Button _settingGame;
public Button _aboutGame;
public MintAnimBase _MintAnim;
private PlayableDirector _playableDirector;
@@ -70,6 +72,9 @@ namespace Views{
this._toGame.gameObject.SetActive(false);
this._aboutGame.gameObject.SetActive(false);
this._settingGame.gameObject.SetActive(false);
var mintPlayerBase = this._MintAnim.MintAnimation ();
mintPlayerBase.TweenOptions.IsFlip = true;
this._MintAnim.StartAnim();
this._playableDirector.stopped += ToGaming;
this._playableDirector.initialTime = 0;
this._playableDirector.Play ();