You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
1.3 KiB
36 lines
1.3 KiB
// This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). |
|
// 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"; |
|
|
|
public static Color DefaultChoiceBlockTint = new Color(1.0f, 0.627f, 0.313f, 1.0f); |
|
public static Color DefaultEventBlockTint = new Color(0.784f, 0.882f, 1.0f, 1.0f); |
|
public static Color DefaultProcessBlockTint = new Color(1.0f, 0.882f, 0.0f, 1.0f); |
|
|
|
#endregion |
|
} |
|
} |