You've already forked taptap2024_GJ_chidouren
update core
This commit is contained in:
@@ -2007,7 +2007,7 @@ MonoBehaviour:
|
|||||||
m_EditorClassIdentifier:
|
m_EditorClassIdentifier:
|
||||||
cameraCollider: {fileID: 4977006423313078515}
|
cameraCollider: {fileID: 4977006423313078515}
|
||||||
createPos: {fileID: 25658124931772993}
|
createPos: {fileID: 25658124931772993}
|
||||||
completeConditionNumber: 9
|
completeConditionNumber: 1
|
||||||
playerBaseSpeed: 2
|
playerBaseSpeed: 2
|
||||||
successProp: {fileID: 2048375561032638617}
|
successProp: {fileID: 2048375561032638617}
|
||||||
--- !u!1 &8878032678881439204
|
--- !u!1 &8878032678881439204
|
||||||
|
|||||||
@@ -13,6 +13,10 @@ namespace Game.FsmNode
|
|||||||
{
|
{
|
||||||
protected override async void OnEnter (params object[] args)
|
protected override async void OnEnter (params object[] args)
|
||||||
{
|
{
|
||||||
|
if (MapContent.Instance.ScenePart == null)
|
||||||
|
{
|
||||||
|
RoomManager.Instance.LoadScenePart (RoomManager.Instance.PartIndex);
|
||||||
|
}
|
||||||
AudioManager.Instance.PlayBGM(BgmAudio.NormalBgm , 0.65f);
|
AudioManager.Instance.PlayBGM(BgmAudio.NormalBgm , 0.65f);
|
||||||
GameEventDefine.ChangeGameFsm.SendMessage (GameState.FightGame , true);
|
GameEventDefine.ChangeGameFsm.SendMessage (GameState.FightGame , true);
|
||||||
UIManager.Instance.CloseLoading (null);
|
UIManager.Instance.CloseLoading (null);
|
||||||
|
|||||||
@@ -54,10 +54,6 @@ namespace Game
|
|||||||
this._gameFsm.Active (GameState.InitGame , args);
|
this._gameFsm.Active (GameState.InitGame , args);
|
||||||
GameUpdateMgr.Instance.AddUpdater (DoUpdate);
|
GameUpdateMgr.Instance.AddUpdater (DoUpdate);
|
||||||
this.BindEvent ();
|
this.BindEvent ();
|
||||||
if (MapContent.Instance.ScenePart == null)
|
|
||||||
{
|
|
||||||
LoadScenePart (this.PartIndex);
|
|
||||||
}
|
|
||||||
this._gameFsm.OpenState (GameState.StartGame);
|
this._gameFsm.OpenState (GameState.StartGame);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -46,7 +46,7 @@ Material:
|
|||||||
m_Ints: []
|
m_Ints: []
|
||||||
m_Floats:
|
m_Floats:
|
||||||
- Vector1_c9f2135c9d254951b22c018d295f8558: 0.003
|
- Vector1_c9f2135c9d254951b22c018d295f8558: 0.003
|
||||||
- _blurOffset: 0.047
|
- _blurOffset: 0.35
|
||||||
m_Colors: []
|
m_Colors: []
|
||||||
m_BuildTextureStacks: []
|
m_BuildTextureStacks: []
|
||||||
--- !u!114 &268278646524644520
|
--- !u!114 &268278646524644520
|
||||||
|
|||||||
@@ -71,6 +71,8 @@ namespace Views{
|
|||||||
this.ViewConnector.CloseView ();
|
this.ViewConnector.CloseView ();
|
||||||
if (RoomManager.Instance.PartIndex < 3)
|
if (RoomManager.Instance.PartIndex < 3)
|
||||||
{
|
{
|
||||||
|
Destroy (MapContent.Instance.ScenePart.gameObject);
|
||||||
|
MapContent.Instance.ScenePart = null;
|
||||||
RoomManager.Instance.PartIndex++;
|
RoomManager.Instance.PartIndex++;
|
||||||
GameEventDefine.ChangeGameFsm.SendMessage (GameState.StartGame);
|
GameEventDefine.ChangeGameFsm.SendMessage (GameState.StartGame);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user