浏览代码

Fixed Namespaces

/main
Thomas ICHÉ 5 年前
当前提交
901eaac8
共有 3 个文件被更改,包括 126 次插入128 次删除
  1. 14
      Runtime/GameLevel.cs
  2. 94
      Runtime/LevelScripting/Actions/GameLevelLoadAction.cs
  3. 146
      Runtime/Managers/Implementations/GameManager.cs

14
Runtime/GameLevel.cs


using System.Collections;
using System.Collections.Generic;
using GameplayIngredients.LevelStreaming;
using GameplayIngredients;
public class GameLevel : ScriptableObject
namespace GameplayIngredients
[ReorderableList, Scene]
public string[] StartupScenes;
public class GameLevel : ScriptableObject
{
[ReorderableList, Scene]
public string[] StartupScenes;
}

94
Runtime/LevelScripting/Actions/GameLevelLoadAction.cs


using System.Linq;
using System.Collections.Generic;
using GameplayIngredients;
using GameplayIngredients.Actions;
public class GameLevelLoadAction : ActionBase
namespace GameplayIngredients.Actions
public enum Target
public class GameLevelLoadAction : ActionBase
MainMenu,
First,
Previous,
Current,
Next,
Last,
SpecifiedLevel,
FromGameSave,
}
public bool ShowUI = true;
public Target level = Target.First;
[NonNullCheck, ShowIf("isSpecified"), Tooltip("Which Level to Load/Unload, when selected 'Specified' level")]
public GameLevel specifiedLevel;
public enum Target
{
MainMenu,
First,
Previous,
Current,
Next,
Last,
SpecifiedLevel,
FromGameSave,
}
public bool ShowUI = true;
public Target level = Target.First;
[NonNullCheck, ShowIf("isSpecified"), Tooltip("Which Level to Load/Unload, when selected 'Specified' level")]
public GameLevel specifiedLevel;
[ShowIf("isGameSave")]
public int UserSaveIndex = 0;