更新
This commit is contained in:
8
Assets/Scripts/Others/InformationTransistor.meta
Normal file
8
Assets/Scripts/Others/InformationTransistor.meta
Normal file
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: b727ed1e4af850649838d0894a0790e1
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,32 @@
|
||||
using SLSFramework.General;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Continentis
|
||||
{
|
||||
public partial class InfoTransistor : Singleton<InfoTransistor>
|
||||
{
|
||||
public MenuToMainGame menuToMainGame;
|
||||
|
||||
protected override void Awake()
|
||||
{
|
||||
Initialize(true);
|
||||
}
|
||||
}
|
||||
|
||||
public partial class InfoTransistor
|
||||
{
|
||||
public static class Menu
|
||||
{
|
||||
/// <summary>
|
||||
/// 跑局意图:告知 GameScene 中 MainGameManager.Awake() 该执行新游戏还是继续游戏。
|
||||
/// </summary>
|
||||
public enum MenuIntent
|
||||
{
|
||||
None,
|
||||
StartNewRun,
|
||||
ContinueRun
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: cd95cef627271d343b8e33a1471e8b94
|
||||
@@ -0,0 +1,24 @@
|
||||
using System;
|
||||
using Continentis.MainGame;
|
||||
|
||||
namespace Continentis
|
||||
{
|
||||
public partial class InfoTransistor
|
||||
{
|
||||
[Serializable]
|
||||
public class MenuToMainGame
|
||||
{
|
||||
/// <summary>
|
||||
/// 跑局意图:告知 MainGameManager.Awake() 该执行新游戏还是继续游戏。
|
||||
/// 由 MenuManager(菜单跳转)或 MainGameManager.ExitCombat(胜利后进入下一战)写入。
|
||||
/// </summary>
|
||||
public Menu.MenuIntent menuIntent = Menu.MenuIntent.None;
|
||||
|
||||
/// <summary>
|
||||
/// 新游戏时传入的 RunConfig,ContinueRun 时为 null。
|
||||
/// </summary>
|
||||
public RunConfig pendingRunConfig;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 2b120d42cd75b8a4eb0656f28b12098d
|
||||
Reference in New Issue
Block a user