You've already forked taptap2024_GJ_chidouren
update core
This commit is contained in:
@@ -46,7 +46,7 @@ Material:
|
||||
m_Ints: []
|
||||
m_Floats:
|
||||
- Vector1_c9f2135c9d254951b22c018d295f8558: 0.003
|
||||
- _blurOffset: 0.028831204
|
||||
- _blurOffset: 0.047
|
||||
m_Colors: []
|
||||
m_BuildTextureStacks: []
|
||||
--- !u!114 &268278646524644520
|
||||
|
||||
@@ -51,7 +51,7 @@ Material:
|
||||
- _grayOffset: 0
|
||||
- _grayOffsetB: 1
|
||||
- _grayOffsetG: 1
|
||||
- _grayOffsetR: 1
|
||||
- _grayOffsetR: 0.932
|
||||
m_Colors:
|
||||
- _OverlyColor: {r: 1, g: 1, b: 1, a: 1}
|
||||
- _overlyColor: {r: 1, g: 1, b: 1, a: 1}
|
||||
|
||||
21
Assets/Scripts/Views/InitTipPanel.cs
Normal file
21
Assets/Scripts/Views/InitTipPanel.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
using UnityEngine.UI;
|
||||
using IcecreamView;
|
||||
|
||||
namespace Views{
|
||||
|
||||
public class InitTipPanel : IcecreamView.IC_AbstractModule
|
||||
{
|
||||
[SerializeField] private Button _button;
|
||||
public override void OnOpenView(IC_ViewData parameters)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public override void OnCloseView()
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
11
Assets/Scripts/Views/InitTipPanel.cs.meta
Normal file
11
Assets/Scripts/Views/InitTipPanel.cs.meta
Normal file
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: b45493260ef98324db44d8c1c929f67f
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -3,8 +3,10 @@ using System.Collections.Generic;
|
||||
using Coffee.UIEffects;
|
||||
using Cysharp.Threading.Tasks;
|
||||
using Framework.Timer;
|
||||
using Framework.UI;
|
||||
using Game;
|
||||
using Game.Component;
|
||||
using Game.EventDefine;
|
||||
using UnityEngine;
|
||||
using UnityEngine.UI;
|
||||
using IcecreamView;
|
||||
@@ -27,9 +29,12 @@ namespace Views{
|
||||
|
||||
public ObjectShake Shake;
|
||||
|
||||
|
||||
public Button nextBtn;
|
||||
|
||||
public override async void OnOpenView(IC_ViewData parameters)
|
||||
{
|
||||
this.nextBtn.gameObject.SetActive (false);
|
||||
var index = parameters.GetValue<int> ();
|
||||
this.lastFragment.SetActive (false);
|
||||
this.redPoint.SetActive (false);
|
||||
@@ -56,7 +61,27 @@ namespace Views{
|
||||
{
|
||||
|
||||
}
|
||||
// #if UNITY_EDITOR
|
||||
|
||||
public override void OnInitView ()
|
||||
{
|
||||
this.nextBtn.onClick.AddListener (() =>
|
||||
{
|
||||
UIManager.Instance.OpenLoading (() =>
|
||||
{
|
||||
this.ViewConnector.CloseView ();
|
||||
if (RoomManager.Instance.PartIndex < 3)
|
||||
{
|
||||
RoomManager.Instance.PartIndex++;
|
||||
GameEventDefine.ChangeGameFsm.SendMessage (GameState.StartGame);
|
||||
}
|
||||
else
|
||||
{
|
||||
//播放结尾gc动画
|
||||
}
|
||||
});
|
||||
});
|
||||
}
|
||||
// #if UNITY_EDITOR
|
||||
// private bool tempLock;
|
||||
// private async void Update ()
|
||||
// {
|
||||
@@ -133,6 +158,7 @@ namespace Views{
|
||||
CameraImpulseUtils.Instance.UniformImpulseCamera (0.5f , 4);
|
||||
GameManager.Instance.Vibrator (VibratorScale.Normal);
|
||||
}
|
||||
this.nextBtn.gameObject.SetActive (true);
|
||||
}
|
||||
|
||||
private async UniTask AnimOpen (UIDissolve[] effects , GameObject point)
|
||||
|
||||
@@ -21,6 +21,7 @@ namespace Views
|
||||
public const string AboutPanel ="AboutPanel";
|
||||
public const string GamePanel ="GamePanel";
|
||||
public const string SuccessPanel ="SuccessPanel";
|
||||
public const string InitTipPanel ="InitTipPanel";
|
||||
//Code end
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user