
1.导入URP
2.配置了URP
3.导入Dotween
4.导入Odin
5.导入了InputSystem
6.设置项目为新旧输入系统并用
7.导入了FunGus
8.创建了一些空文件夹
我是每日提醒上班小助手,今天你上班了吗?😺
52 lines
1.7 KiB
C#
52 lines
1.7 KiB
C#
// This code is part of the Fungus library (https://github.com/snozbot/fungus)
|
|
// It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE)
|
|
|
|
using UnityEngine;
|
|
|
|
namespace Fungus
|
|
{
|
|
/// <summary>
|
|
/// Global constants used in various parts of Fungus.
|
|
/// </summary>
|
|
public static class FungusConstants
|
|
{
|
|
#region Public members
|
|
|
|
/// <summary>
|
|
/// Duration of fade for executing icon displayed beside blocks & commands.
|
|
/// </summary>
|
|
public const float ExecutingIconFadeTime = 0.5f;
|
|
|
|
/// <summary>
|
|
/// The current version of the Flowchart. Used for updating components.
|
|
/// </summary>
|
|
public const int CurrentVersion = 1;
|
|
|
|
/// <summary>
|
|
/// The name of the initial block in a new flowchart.
|
|
/// </summary>
|
|
public const string DefaultBlockName = "New Block";
|
|
|
|
/// <summary>
|
|
/// The default choice block color.
|
|
/// </summary>
|
|
public static Color DefaultChoiceBlockTint = new Color(1.0f, 0.627f, 0.313f, 1.0f);
|
|
|
|
/// <summary>
|
|
/// The default event block color.
|
|
/// </summary>
|
|
public static Color DefaultEventBlockTint = new Color(0.784f, 0.882f, 1.0f, 1.0f);
|
|
|
|
/// <summary>
|
|
/// The default process block color.
|
|
/// </summary>
|
|
public static Color DefaultProcessBlockTint = new Color(1.0f, 0.882f, 0.0f, 1.0f);
|
|
|
|
/// <summary>
|
|
/// The default key used for storing save game data in PlayerPrefs.
|
|
/// </summary>
|
|
public const string DefaultSaveDataKey = "save_data";
|
|
|
|
#endregion
|
|
}
|
|
} |