@@ -0,0 +1,11 @@
+using System.Collections;
+using System.Collections.Generic;
+using UnityEngine;
+
+public class GameOverInterface
+{
+ public static void OnGameOver(int gameType)
+ {
+ Debug.Log("OnGameOver! GameType:" + gameType);
+ }
+}
+fileFormatVersion: 2
+guid: bc0295d6d0d23ef4d8c81649183b7322
+MonoImporter:
+ externalObjects: {}
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
@@ -44,6 +44,7 @@ public class HunterGameSettleView : MonoBehaviour
if (SocketPlayer.ins) SocketPlayer.ins.isGameOver = true;
}
SimulateMouseController.ins?.AddOpenLocker("NotGame");
+ GameOverInterface.OnGameOver(GameMgr.gameType);
void CheckOpenNextLevelBtn(ChallengeGameMode gameMode, string gameRes) {
@@ -19,6 +19,7 @@ public class ChallengeOptionView : JCUnityLib.ViewBase, MenuBackInterface
transform.Find("EntryList/Item3").gameObject.SetActive(false);
transform.Find("EntryList/Item4").gameObject.SetActive(GlobalDataTemp.pkMatchType == PKMatchType.None);
+ transform.Find("BtnFruitMaster").gameObject.SetActive(GlobalDataTemp.pkMatchType == PKMatchType.None);
void Start() {
@@ -51,6 +51,7 @@ public class PKGameSettleView : MonoBehaviour
public void OnClick_Back() {
@@ -39,6 +39,7 @@ public class TimeLimitGameSettleView : MonoBehaviour
AudioMgr.ins.PlayWin();
@@ -392,6 +392,8 @@ namespace DuckHunter
SaveBestScore();
void ShowGamePass()
@@ -170,6 +170,8 @@ public class OverallLogics : MonoBehaviour
Logo.gameObject.SetActive(false);
Stains.gameObject.SetActive(false);
private void OnSmartBowConnectionLost()
@@ -120,6 +120,7 @@ namespace WildAttack
text_highScoreTitle.text = StringModule.GetInstance().GetData("highScore") + ":";
text_highScore.text = recordScore.ToString();
#endregion