diff --git a/Assets/Fungus/Scripts/Commands/Condition.cs b/Assets/Fungus/Scripts/Commands/Condition.cs
index 0e20dcf8..5af13b89 100644
--- a/Assets/Fungus/Scripts/Commands/Condition.cs
+++ b/Assets/Fungus/Scripts/Commands/Condition.cs
@@ -13,8 +13,6 @@ namespace Fungus
{
protected End endCommand;
- #region Public members
-
public override void OnEnter()
{
if (ParentBlock == null)
@@ -88,7 +86,6 @@ namespace Fungus
}
}
- #endregion
protected End FindOurEndCommand()
{
diff --git a/Assets/Fungus/Scripts/Commands/VariableCondition.cs b/Assets/Fungus/Scripts/Commands/VariableCondition.cs
index f99d784a..bf0f64f2 100644
--- a/Assets/Fungus/Scripts/Commands/VariableCondition.cs
+++ b/Assets/Fungus/Scripts/Commands/VariableCondition.cs
@@ -1,55 +1,141 @@
// 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;
using System.Collections.Generic;
+using System.Text;
+using UnityEngine;
namespace Fungus
{
- public abstract class VariableCondition : Condition, ISerializationCallbackReceiver
+ ///
+ /// class for a single condition. A list of this is used for multiple conditions.
+ ///
+ [System.Serializable]
+ public class ConditionExpression
{
- [Tooltip("The type of comparison to be performed")]
[SerializeField] protected CompareOperator compareOperator;
+ [SerializeField] protected AnyVariableAndDataPair anyVar;
- [SerializeField] protected AnyVariableAndDataPair anyVar = new AnyVariableAndDataPair();
+ public virtual AnyVariableAndDataPair AnyVar { get { return anyVar; } }
+ public virtual CompareOperator CompareOperator { get { return compareOperator; } }
- protected override bool EvaluateCondition()
+ public ConditionExpression()
{
- if (anyVar.variable == null)
- {
- return false;
- }
+ }
- bool condition = false;
- anyVar.Compare(compareOperator, ref condition);
-
- return condition;
+ public ConditionExpression(CompareOperator op, AnyVariableAndDataPair variablePair)
+ {
+ compareOperator = op;
+ anyVar = variablePair;
}
+ }
- protected override bool HasNeededProperties()
+ public abstract class VariableCondition : Condition, ISerializationCallbackReceiver
+ {
+ public enum AnyOrAll
{
- return (anyVar.variable != null);
+ AnyOf_OR,//Use as a chain of ORs
+ AllOf_AND,//Use as a chain of ANDs
}
- #region Public members
+ [Tooltip("Selecting AnyOf will result in true if at least one of the conditions is true. Selecting AllOF will result in true only when all the conditions are true.")]
+ [SerializeField] protected AnyOrAll anyOrAllConditions;
+
+ [SerializeField] protected List conditions = new List();
///
- /// The type of comparison operation to be performed.
+ /// Called when the script is loaded or a value is changed in the
+ /// inspector (Called in the editor only).
///
- public virtual CompareOperator CompareOperator { get { return compareOperator; } }
+ public override void OnValidate()
+ {
+ base.OnValidate();
+
+ if (conditions == null)
+ {
+ conditions = new List();
+ }
+
+ if (conditions.Count == 0)
+ {
+ conditions.Add(new ConditionExpression());
+ }
+ }
+ protected override bool EvaluateCondition()
+ {
+ if (conditions == null || conditions.Count == 0)
+ {
+ return false;
+ }
+
+ bool resultAny = false, resultAll = true;
+ foreach (ConditionExpression condition in conditions)
+ {
+ bool curResult = false;
+ if (condition.AnyVar == null)
+ {
+ resultAll &= curResult;
+ resultAny |= curResult;
+ continue;
+ }
+ condition.AnyVar.Compare(condition.CompareOperator, ref curResult);
+ resultAll &= curResult;
+ resultAny |= curResult;
+ }
+
+ if (anyOrAllConditions == AnyOrAll.AnyOf_OR) return resultAny;
+
+ return resultAll;
+ }
+
+ protected override bool HasNeededProperties()
+ {
+ if (conditions == null || conditions.Count == 0)
+ {
+ return false;
+ }
+
+ foreach (ConditionExpression condition in conditions)
+ {
+ if (condition.AnyVar == null || condition.AnyVar.variable == null)
+ {
+ return false;
+ }
+ }
+ return true;
+ }
+
public override string GetSummary()
{
- if (anyVar.variable == null)
+ if (!this.HasNeededProperties())
{
return "Error: No variable selected";
}
- string summary = anyVar.variable.Key + " ";
- summary += VariableUtil.GetCompareOperatorDescription(compareOperator) + " ";
- summary += anyVar.GetDataDescription();
+ string connector = "";
+ if (anyOrAllConditions == AnyOrAll.AnyOf_OR)
+ {
+ connector = " OR ";
+ }
+ else
+ {
+ connector = " AND ";
+ }
- return summary;
+ StringBuilder summary = new StringBuilder("");
+ for (int i = 0; i < conditions.Count; i++)
+ {
+ summary.Append(conditions[i].AnyVar.variable.Key + " " +
+ VariableUtil.GetCompareOperatorDescription(conditions[i].CompareOperator) + " " +
+ conditions[i].AnyVar.GetDataDescription());
+
+ if (i < conditions.Count - 1)
+ {
+ summary.Append(connector);
+ }
+ }
+ return summary.ToString();
}
public override bool HasReference(Variable variable)
@@ -57,10 +143,14 @@ namespace Fungus
return anyVar.HasReference(variable);
}
- #endregion
#region backwards compat
+ [HideInInspector]
+ [SerializeField] protected CompareOperator compareOperator;
+
+ [HideInInspector]
+ [SerializeField] protected AnyVariableAndDataPair anyVar;
[Tooltip("Variable to use in expression")]
[VariableProperty(AllVariableTypes.VariableAny.Any)]
@@ -113,107 +203,118 @@ namespace Fungus
[Tooltip("Vector3 value to compare against")]
[SerializeField] protected Vector3Data vector3Data;
-
+
void ISerializationCallbackReceiver.OnBeforeSerialize()
{
}
void ISerializationCallbackReceiver.OnAfterDeserialize()
{
- if (variable == null)
- {
- return;
- }
- else
+ if (variable != null)
{
anyVar.variable = variable;
- }
- if (variable.GetType() == typeof(BooleanVariable) && !booleanData.Equals(new BooleanData()))
- {
- anyVar.data.booleanData = booleanData;
- booleanData = new BooleanData();
- }
- else if (variable.GetType() == typeof(IntegerVariable) && !integerData.Equals(new IntegerData()))
- {
- anyVar.data.integerData = integerData;
- integerData = new IntegerData();
- }
- else if (variable.GetType() == typeof(FloatVariable) && !floatData.Equals(new FloatData()))
- {
- anyVar.data.floatData = floatData;
- floatData = new FloatData();
- }
- else if (variable.GetType() == typeof(StringVariable) && !stringData.Equals(new StringDataMulti()))
- {
- anyVar.data.stringData.stringRef = stringData.stringRef;
- anyVar.data.stringData.stringVal = stringData.stringVal;
- stringData = new StringDataMulti();
+ if (variable.GetType() == typeof(BooleanVariable) && !booleanData.Equals(new BooleanData()))
+ {
+ anyVar.data.booleanData = booleanData;
+ booleanData = new BooleanData();
+ }
+ else if (variable.GetType() == typeof(IntegerVariable) && !integerData.Equals(new IntegerData()))
+ {
+ anyVar.data.integerData = integerData;
+ integerData = new IntegerData();
+ }
+ else if (variable.GetType() == typeof(FloatVariable) && !floatData.Equals(new FloatData()))
+ {
+ anyVar.data.floatData = floatData;
+ floatData = new FloatData();
+ }
+ else if (variable.GetType() == typeof(StringVariable) && !stringData.Equals(new StringDataMulti()))
+ {
+ anyVar.data.stringData.stringRef = stringData.stringRef;
+ anyVar.data.stringData.stringVal = stringData.stringVal;
+ stringData = new StringDataMulti();
+ }
+ else if (variable.GetType() == typeof(AnimatorVariable) && !animatorData.Equals(new AnimatorData()))
+ {
+ anyVar.data.animatorData = animatorData;
+ animatorData = new AnimatorData();
+ }
+ else if (variable.GetType() == typeof(AudioSourceVariable) && !audioSourceData.Equals(new AudioSourceData()))
+ {
+ anyVar.data.audioSourceData = audioSourceData;
+ audioSourceData = new AudioSourceData();
+ }
+ else if (variable.GetType() == typeof(ColorVariable) && !colorData.Equals(new ColorData()))
+ {
+ anyVar.data.colorData = colorData;
+ colorData = new ColorData();
+ }
+ else if (variable.GetType() == typeof(GameObjectVariable) && !gameObjectData.Equals(new GameObjectData()))
+ {
+ anyVar.data.gameObjectData = gameObjectData;
+ gameObjectData = new GameObjectData();
+ }
+ else if (variable.GetType() == typeof(MaterialVariable) && !materialData.Equals(new MaterialData()))
+ {
+ anyVar.data.materialData = materialData;
+ materialData = new MaterialData();
+ }
+ else if (variable.GetType() == typeof(ObjectVariable) && !objectData.Equals(new ObjectData()))
+ {
+ anyVar.data.objectData = objectData;
+ objectData = new ObjectData();
+ }
+ else if (variable.GetType() == typeof(Rigidbody2DVariable) && !rigidbody2DData.Equals(new Rigidbody2DData()))
+ {
+ anyVar.data.rigidbody2DData = rigidbody2DData;
+ rigidbody2DData = new Rigidbody2DData();
+ }
+ else if (variable.GetType() == typeof(SpriteVariable) && !spriteData.Equals(new SpriteData()))
+ {
+ anyVar.data.spriteData = spriteData;
+ spriteData = new SpriteData();
+ }
+ else if (variable.GetType() == typeof(TextureVariable) && !textureData.Equals(new TextureData()))
+ {
+ anyVar.data.textureData = textureData;
+ textureData = new TextureData();
+ }
+ else if (variable.GetType() == typeof(TransformVariable) && !transformData.Equals(new TransformData()))
+ {
+ anyVar.data.transformData = transformData;
+ transformData = new TransformData();
+ }
+ else if (variable.GetType() == typeof(Vector2Variable) && !vector2Data.Equals(new Vector2Data()))
+ {
+ anyVar.data.vector2Data = vector2Data;
+ vector2Data = new Vector2Data();
+ }
+ else if (variable.GetType() == typeof(Vector3Variable) && !vector3Data.Equals(new Vector3Data()))
+ {
+ anyVar.data.vector3Data = vector3Data;
+ vector3Data = new Vector3Data();
+ }
+
+ //moved to new anyvar storage, clear legacy.
+ variable = null;
}
- else if (variable.GetType() == typeof(AnimatorVariable) && !animatorData.Equals(new AnimatorData()))
- {
- anyVar.data.animatorData = animatorData;
- animatorData = new AnimatorData();
- }
- else if (variable.GetType() == typeof(AudioSourceVariable) && !audioSourceData.Equals(new AudioSourceData()))
- {
- anyVar.data.audioSourceData = audioSourceData;
- audioSourceData = new AudioSourceData();
- }
- else if (variable.GetType() == typeof(ColorVariable) && !colorData.Equals(new ColorData()))
- {
- anyVar.data.colorData = colorData;
- colorData = new ColorData();
- }
- else if (variable.GetType() == typeof(GameObjectVariable) && !gameObjectData.Equals(new GameObjectData()))
- {
- anyVar.data.gameObjectData = gameObjectData;
- gameObjectData = new GameObjectData();
- }
- else if (variable.GetType() == typeof(MaterialVariable) && !materialData.Equals(new MaterialData()))
- {
- anyVar.data.materialData = materialData;
- materialData = new MaterialData();
- }
- else if (variable.GetType() == typeof(ObjectVariable) && !objectData.Equals(new ObjectData()))
- {
- anyVar.data.objectData = objectData;
- objectData = new ObjectData();
- }
- else if (variable.GetType() == typeof(Rigidbody2DVariable) && !rigidbody2DData.Equals(new Rigidbody2DData()))
- {
- anyVar.data.rigidbody2DData = rigidbody2DData;
- rigidbody2DData = new Rigidbody2DData();
- }
- else if (variable.GetType() == typeof(SpriteVariable) && !spriteData.Equals(new SpriteData()))
- {
- anyVar.data.spriteData = spriteData;
- spriteData = new SpriteData();
- }
- else if (variable.GetType() == typeof(TextureVariable) && !textureData.Equals(new TextureData()))
- {
- anyVar.data.textureData = textureData;
- textureData = new TextureData();
- }
- else if (variable.GetType() == typeof(TransformVariable) && !transformData.Equals(new TransformData()))
- {
- anyVar.data.transformData = transformData;
- transformData = new TransformData();
- }
- else if (variable.GetType() == typeof(Vector2Variable) && !vector2Data.Equals(new Vector2Data()))
- {
- anyVar.data.vector2Data = vector2Data;
- vector2Data = new Vector2Data();
- }
- else if (variable.GetType() == typeof(Vector3Variable) && !vector3Data.Equals(new Vector3Data()))
+
+ // just checking for anyVar != null fails here. is any var being reintilaized somewhere?
+
+ if (anyVar != null && anyVar.variable != null)
{
- anyVar.data.vector3Data = vector3Data;
- vector3Data = new Vector3Data();
+ ConditionExpression c = new ConditionExpression(compareOperator, anyVar);
+ if (!conditions.Contains(c))
+ {
+ conditions.Add(c);
+ }
+
+ anyVar = null;
+ variable = null;
}
-
- //moved to new anyvar storage, clear legacy.
- variable = null;
}
- #endregion
+
+ #endregion backwards compat
}
-}
+}
\ No newline at end of file
diff --git a/Assets/Fungus/Scripts/Editor/VariableConditionEditor.cs b/Assets/Fungus/Scripts/Editor/VariableConditionEditor.cs
index 4b2b7e92..47e328b8 100644
--- a/Assets/Fungus/Scripts/Editor/VariableConditionEditor.cs
+++ b/Assets/Fungus/Scripts/Editor/VariableConditionEditor.cs
@@ -3,11 +3,15 @@
using UnityEditor;
using UnityEngine;
-using System.Collections.Generic;
namespace Fungus.EditorUtils
{
- [CustomEditor (typeof(VariableCondition), true)]
+ ///
+ /// Handles custom drawing for ConditionExperssions within the VariableCondition and inherited commands.
+ ///
+ /// TODO; refactor to allow a propertydrawer on ConditionExperssion and potentially list as reorderable
+ ///
+ [CustomEditor(typeof(VariableCondition), true)]
public class VariableConditionEditor : CommandEditor
{
public static readonly GUIContent None = new GUIContent("");
@@ -17,7 +21,7 @@ namespace Fungus.EditorUtils
None,
};
- static readonly GUIContent[] compareListAll = new GUIContent[]
+ private static readonly GUIContent[] compareListAll = new GUIContent[]
{
new GUIContent(VariableUtil.GetCompareOperatorDescription(CompareOperator.Equals)),
new GUIContent(VariableUtil.GetCompareOperatorDescription(CompareOperator.NotEquals)),
@@ -27,29 +31,30 @@ namespace Fungus.EditorUtils
new GUIContent(VariableUtil.GetCompareOperatorDescription(CompareOperator.GreaterThanOrEquals)),
};
- static readonly GUIContent[] compareListEqualOnly = new GUIContent[]
+ private static readonly GUIContent[] compareListEqualOnly = new GUIContent[]
{
new GUIContent(VariableUtil.GetCompareOperatorDescription(CompareOperator.Equals)),
new GUIContent(VariableUtil.GetCompareOperatorDescription(CompareOperator.NotEquals)),
};
- protected SerializedProperty compareOperatorProp;
- protected SerializedProperty anyVarProp;
-
- protected Dictionary propByVariableType;
+ protected SerializedProperty conditions;
public override void OnEnable()
{
base.OnEnable();
- compareOperatorProp = serializedObject.FindProperty("compareOperator");
- anyVarProp = serializedObject.FindProperty("anyVar");
+ conditions = serializedObject.FindProperty("conditions");
}
public override void DrawCommandGUI()
{
serializedObject.Update();
+ EditorGUILayout.PropertyField(serializedObject.FindProperty("anyOrAllConditions"));
+
+ conditions.arraySize = EditorGUILayout.IntField("Size", conditions.arraySize);
+ GUILayout.Label("Conditions", EditorStyles.boldLabel);
+
VariableCondition t = target as VariableCondition;
var flowchart = (Flowchart)t.GetFlowchart();
@@ -58,37 +63,43 @@ namespace Fungus.EditorUtils
return;
}
- EditorGUILayout.PropertyField(anyVarProp, true);
-
- // Get selected variable
- Variable selectedVariable = anyVarProp.FindPropertyRelative("variable").objectReferenceValue as Variable;
- GUIContent[] operatorsList = emptyList;
- if (selectedVariable != null)
+ EditorGUI.indentLevel++;
+ for (int i = 0; i < conditions.arraySize; i++)
{
+ var conditionAnyVar = conditions.GetArrayElementAtIndex(i).FindPropertyRelative("anyVar");
+ var conditionCompare = conditions.GetArrayElementAtIndex(i).FindPropertyRelative("compareOperator");
+
+ EditorGUILayout.PropertyField(conditionAnyVar, new GUIContent("Variable"), true);
+
+ // Get selected variable
+ Variable selectedVariable = conditionAnyVar.FindPropertyRelative("variable").objectReferenceValue as Variable;
+
+ if (selectedVariable == null)
+ continue;
+
+ GUIContent[] operatorsList = emptyList;
operatorsList = selectedVariable.IsComparisonSupported() ? compareListAll : compareListEqualOnly;
- }
-
- // Get previously selected operator
- int selectedIndex = (int)t.CompareOperator;
- if (selectedIndex < 0)
- {
- // Default to first index if the operator is not found in the available operators list
- // This can occur when changing between variable types
- selectedIndex = 0;
- }
- selectedIndex = EditorGUILayout.Popup(
- new GUIContent("Compare", "The comparison operator to use when comparing values"),
- selectedIndex,
- operatorsList);
+ // Get previously selected operator
+ int selectedIndex = conditionCompare.enumValueIndex;
+ if (selectedIndex < 0 || selectedIndex >= operatorsList.Length)
+ {
+ // Default to first index if the operator is not found in the available operators list
+ // This can occur when changing between variable types
+ selectedIndex = 0;
+ }
- if (selectedVariable != null)
- {
- compareOperatorProp.enumValueIndex = selectedIndex;
- }
+ selectedIndex = EditorGUILayout.Popup(
+ new GUIContent("Compare", "The comparison operator to use when comparing values"),
+ selectedIndex,
+ operatorsList);
+ conditionCompare.enumValueIndex = selectedIndex;
+ EditorGUILayout.Separator();
+ }
+ EditorGUI.indentLevel--;
serializedObject.ApplyModifiedProperties();
}
}
-}
+}
\ No newline at end of file
diff --git a/Assets/FungusExamples/Conditions.meta b/Assets/FungusExamples/Conditions.meta
new file mode 100644
index 00000000..f6fd4da0
--- /dev/null
+++ b/Assets/FungusExamples/Conditions.meta
@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: ab073c9a6f825fe4b82cbe37c37addb0
+folderAsset: yes
+DefaultImporter:
+ externalObjects: {}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/FungusExamples/Conditions/MultipleConditionsExample.unity b/Assets/FungusExamples/Conditions/MultipleConditionsExample.unity
new file mode 100644
index 00000000..77971b56
--- /dev/null
+++ b/Assets/FungusExamples/Conditions/MultipleConditionsExample.unity
@@ -0,0 +1,2020 @@
+%YAML 1.1
+%TAG !u! tag:unity3d.com,2011:
+--- !u!29 &1
+OcclusionCullingSettings:
+ m_ObjectHideFlags: 0
+ serializedVersion: 2
+ m_OcclusionBakeSettings:
+ smallestOccluder: 5
+ smallestHole: 0.25
+ backfaceThreshold: 100
+ m_SceneGUID: 00000000000000000000000000000000
+ m_OcclusionCullingData: {fileID: 0}
+--- !u!104 &2
+RenderSettings:
+ m_ObjectHideFlags: 0
+ serializedVersion: 9
+ m_Fog: 0
+ m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1}
+ m_FogMode: 3
+ m_FogDensity: 0.01
+ m_LinearFogStart: 0
+ m_LinearFogEnd: 300
+ m_AmbientSkyColor: {r: 0.212, g: 0.227, b: 0.259, a: 1}
+ m_AmbientEquatorColor: {r: 0.114, g: 0.125, b: 0.133, a: 1}
+ m_AmbientGroundColor: {r: 0.047, g: 0.043, b: 0.035, a: 1}
+ m_AmbientIntensity: 1
+ m_AmbientMode: 3
+ m_SubtractiveShadowColor: {r: 0.42, g: 0.478, b: 0.627, a: 1}
+ m_SkyboxMaterial: {fileID: 0}
+ m_HaloStrength: 0.5
+ m_FlareStrength: 1
+ m_FlareFadeSpeed: 3
+ m_HaloTexture: {fileID: 0}
+ m_SpotCookie: {fileID: 10001, guid: 0000000000000000e000000000000000, type: 0}
+ m_DefaultReflectionMode: 0
+ m_DefaultReflectionResolution: 128
+ m_ReflectionBounces: 1
+ m_ReflectionIntensity: 1
+ m_CustomReflection: {fileID: 0}
+ m_Sun: {fileID: 0}
+ m_IndirectSpecularColor: {r: 0, g: 0, b: 0, a: 1}
+ m_UseRadianceAmbientProbe: 0
+--- !u!157 &3
+LightmapSettings:
+ m_ObjectHideFlags: 0
+ serializedVersion: 11
+ m_GIWorkflowMode: 1
+ m_GISettings:
+ serializedVersion: 2
+ m_BounceScale: 1
+ m_IndirectOutputScale: 1
+ m_AlbedoBoost: 1
+ m_EnvironmentLightingMode: 0
+ m_EnableBakedLightmaps: 0
+ m_EnableRealtimeLightmaps: 0
+ m_LightmapEditorSettings:
+ serializedVersion: 12
+ m_Resolution: 2
+ m_BakeResolution: 40
+ m_AtlasSize: 1024
+ m_AO: 0
+ m_AOMaxDistance: 1
+ m_CompAOExponent: 1
+ m_CompAOExponentDirect: 0
+ m_ExtractAmbientOcclusion: 0
+ m_Padding: 2
+ m_LightmapParameters: {fileID: 0}
+ m_LightmapsBakeMode: 1
+ m_TextureCompression: 1
+ m_FinalGather: 0
+ m_FinalGatherFiltering: 1
+ m_FinalGatherRayCount: 256
+ m_ReflectionCompression: 2
+ m_MixedBakeMode: 2
+ m_BakeBackend: 1
+ m_PVRSampling: 1
+ m_PVRDirectSampleCount: 32
+ m_PVRSampleCount: 512
+ m_PVRBounces: 2
+ m_PVREnvironmentSampleCount: 256
+ m_PVREnvironmentReferencePointCount: 2048
+ m_PVRFilteringMode: 1
+ m_PVRDenoiserTypeDirect: 1
+ m_PVRDenoiserTypeIndirect: 1
+ m_PVRDenoiserTypeAO: 1
+ m_PVRFilterTypeDirect: 0
+ m_PVRFilterTypeIndirect: 0
+ m_PVRFilterTypeAO: 0
+ m_PVREnvironmentMIS: 1
+ m_PVRCulling: 1
+ m_PVRFilteringGaussRadiusDirect: 1
+ m_PVRFilteringGaussRadiusIndirect: 5
+ m_PVRFilteringGaussRadiusAO: 2
+ m_PVRFilteringAtrousPositionSigmaDirect: 0.5
+ m_PVRFilteringAtrousPositionSigmaIndirect: 2
+ m_PVRFilteringAtrousPositionSigmaAO: 1
+ m_ExportTrainingData: 0
+ m_TrainingDataDestination: TrainingData
+ m_LightingDataAsset: {fileID: 0}
+ m_UseShadowmask: 1
+--- !u!196 &4
+NavMeshSettings:
+ serializedVersion: 2
+ m_ObjectHideFlags: 0
+ m_BuildSettings:
+ serializedVersion: 2
+ agentTypeID: 0
+ agentRadius: 0.5
+ agentHeight: 2
+ agentSlope: 45
+ agentClimb: 0.4
+ ledgeDropHeight: 0
+ maxJumpAcrossDistance: 0
+ minRegionArea: 2
+ manualCellSize: 0
+ cellSize: 0.16666667
+ manualTileSize: 0
+ tileSize: 256
+ accuratePlacement: 0
+ debug:
+ m_Flags: 0
+ m_NavMeshData: {fileID: 0}
+--- !u!1 &125528928
+GameObject:
+ m_ObjectHideFlags: 1
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ serializedVersion: 6
+ m_Component:
+ - component: {fileID: 125528930}
+ - component: {fileID: 125528929}
+ m_Layer: 0
+ m_Name: _FungusState
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!114 &125528929
+MonoBehaviour:
+ m_ObjectHideFlags: 1
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 125528928}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: 61dddfdc5e0e44ca298d8f46f7f5a915, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ selectedFlowchart: {fileID: 1292574166}
+--- !u!4 &125528930
+Transform:
+ m_ObjectHideFlags: 1
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 125528928}
+ m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
+ m_LocalPosition: {x: 0, y: 0, z: 0}
+ m_LocalScale: {x: 1, y: 1, z: 1}
+ m_Children: []
+ m_Father: {fileID: 0}
+ m_RootOrder: 1
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
+--- !u!1 &285094500
+GameObject:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ serializedVersion: 6
+ m_Component:
+ - component: {fileID: 285094503}
+ - component: {fileID: 285094502}
+ - component: {fileID: 285094501}
+ m_Layer: 0
+ m_Name: Main Camera
+ m_TagString: MainCamera
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!81 &285094501
+AudioListener:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 285094500}
+ m_Enabled: 1
+--- !u!20 &285094502
+Camera:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 285094500}
+ m_Enabled: 1
+ serializedVersion: 2
+ m_ClearFlags: 1
+ m_BackGroundColor: {r: 0.19215687, g: 0.3019608, b: 0.4745098, a: 0}
+ m_projectionMatrixMode: 1
+ m_GateFitMode: 2
+ m_FOVAxisMode: 0
+ m_SensorSize: {x: 36, y: 24}
+ m_LensShift: {x: 0, y: 0}
+ m_FocalLength: 50
+ m_NormalizedViewPortRect:
+ serializedVersion: 2
+ x: 0
+ y: 0
+ width: 1
+ height: 1
+ near clip plane: 0.3
+ far clip plane: 1000
+ field of view: 60
+ orthographic: 1
+ orthographic size: 5
+ m_Depth: -1
+ m_CullingMask:
+ serializedVersion: 2
+ m_Bits: 4294967295
+ m_RenderingPath: -1
+ m_TargetTexture: {fileID: 0}
+ m_TargetDisplay: 0
+ m_TargetEye: 3
+ m_HDR: 1
+ m_AllowMSAA: 1
+ m_AllowDynamicResolution: 0
+ m_ForceIntoRT: 0
+ m_OcclusionCulling: 1
+ m_StereoConvergence: 10
+ m_StereoSeparation: 0.022
+--- !u!4 &285094503
+Transform:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 285094500}
+ m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
+ m_LocalPosition: {x: 0, y: 0, z: -10}
+ m_LocalScale: {x: 1, y: 1, z: 1}
+ m_Children: []
+ m_Father: {fileID: 0}
+ m_RootOrder: 0
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
+--- !u!1 &540676848
+GameObject:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ serializedVersion: 6
+ m_Component:
+ - component: {fileID: 540676852}
+ - component: {fileID: 540676851}
+ - component: {fileID: 540676850}
+ - component: {fileID: 540676849}
+ m_Layer: 0
+ m_Name: EventSystem
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!114 &540676849
+MonoBehaviour:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 540676848}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: 2d49b7c1bcd2e07499844da127be038d, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ m_ForceModuleActive: 0
+--- !u!114 &540676850
+MonoBehaviour:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 540676848}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: 4f231c4fb786f3946a6b90b886c48677, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ m_HorizontalAxis: Horizontal
+ m_VerticalAxis: Vertical
+ m_SubmitButton: Submit
+ m_CancelButton: Cancel
+ m_InputActionsPerSecond: 10
+ m_RepeatDelay: 0.5
+ m_ForceModuleActive: 0
+--- !u!114 &540676851
+MonoBehaviour:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 540676848}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: 76c392e42b5098c458856cdf6ecaaaa1, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ m_FirstSelected: {fileID: 0}
+ m_sendNavigationEvents: 1
+ m_DragThreshold: 5
+--- !u!4 &540676852
+Transform:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 540676848}
+ m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
+ m_LocalPosition: {x: 0, y: 0, z: 0}
+ m_LocalScale: {x: 1, y: 1, z: 1}
+ m_Children: []
+ m_Father: {fileID: 0}
+ m_RootOrder: 3
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
+--- !u!1 &1292574162
+GameObject:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ serializedVersion: 6
+ m_Component:
+ - component: {fileID: 1292574167}
+ - component: {fileID: 1292574166}
+ - component: {fileID: 1292574165}
+ - component: {fileID: 1292574164}
+ - component: {fileID: 1292574163}
+ - component: {fileID: 1292574180}
+ - component: {fileID: 1292574179}
+ - component: {fileID: 1292574178}
+ - component: {fileID: 1292574177}
+ - component: {fileID: 1292574176}
+ - component: {fileID: 1292574175}
+ - component: {fileID: 1292574174}
+ - component: {fileID: 1292574173}
+ - component: {fileID: 1292574172}
+ - component: {fileID: 1292574171}
+ - component: {fileID: 1292574170}
+ - component: {fileID: 1292574169}
+ - component: {fileID: 1292574168}
+ - component: {fileID: 1292574186}
+ - component: {fileID: 1292574185}
+ - component: {fileID: 1292574184}
+ - component: {fileID: 1292574183}
+ - component: {fileID: 1292574182}
+ - component: {fileID: 1292574181}
+ m_Layer: 0
+ m_Name: Flowchart
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!114 &1292574163
+MonoBehaviour:
+ m_ObjectHideFlags: 2
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 1292574162}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: 70c5622b8a80845c980954170295f292, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ itemId: 1
+ indentLevel: 0
+ anyOrAllConditions: 1
+ conditions:
+ - compareOperator: 0
+ anyVar:
+ variable: {fileID: 1292574180}
+ data:
+ animatorData:
+ animatorRef: {fileID: 0}
+ animatorVal: {fileID: 0}
+ audioSourceData:
+ audioSourceRef: {fileID: 0}
+ audioSourceVal: {fileID: 0}
+ booleanData:
+ booleanRef: {fileID: 1292574179}
+ booleanVal: 0
+ collectionData:
+ collectionRef: {fileID: 0}
+ collectionVal: {fileID: 0}
+ collider2DData:
+ collider2DRef: {fileID: 0}
+ collider2DVal: {fileID: 0}
+ colliderData:
+ colliderRef: {fileID: 0}
+ colliderVal: {fileID: 0}
+ colorData:
+ colorRef: {fileID: 0}
+ colorVal: {r: 0, g: 0, b: 0, a: 0}
+ floatData:
+ floatRef: {fileID: 0}
+ floatVal: 0
+ gameObjectData:
+ gameObjectRef: {fileID: 0}
+ gameObjectVal: {fileID: 0}
+ integerData:
+ integerRef: {fileID: 1292574177}
+ integerVal: 0
+ materialData:
+ materialRef: {fileID: 0}
+ materialVal: {fileID: 0}
+ matrix4x4Data:
+ matrix4x4Ref: {fileID: 0}
+ matrix4x4Val:
+ e00: 0
+ e01: 0
+ e02: 0
+ e03: 0
+ e10: 0
+ e11: 0
+ e12: 0
+ e13: 0
+ e20: 0
+ e21: 0
+ e22: 0
+ e23: 0
+ e30: 0
+ e31: 0
+ e32: 0
+ e33: 0
+ objectData:
+ objectRef: {fileID: 0}
+ objectVal: {fileID: 0}
+ quaternionData:
+ quaternionRef: {fileID: 0}
+ quaternionVal: {x: 0, y: 0, z: 0, w: 0}
+ rigidbody2DData:
+ rigidbody2DRef: {fileID: 0}
+ rigidbody2DVal: {fileID: 0}
+ rigidbodyData:
+ rigidbodyRef: {fileID: 0}
+ rigidbodyVal: {fileID: 0}
+ spriteData:
+ spriteRef: {fileID: 0}
+ spriteVal: {fileID: 0}
+ stringData:
+ stringRef: {fileID: 0}
+ stringVal:
+ textureData:
+ textureRef: {fileID: 0}
+ textureVal: {fileID: 0}
+ transformData:
+ transformRef: {fileID: 0}
+ transformVal: {fileID: 0}
+ vector2Data:
+ vector2Ref: {fileID: 0}
+ vector2Val: {x: 0, y: 0}
+ vector3Data:
+ vector3Ref: {fileID: 0}
+ vector3Val: {x: 0, y: 0, z: 0}
+ vector4Data:
+ vector4Ref: {fileID: 0}
+ vector4Val: {x: 0, y: 0, z: 0, w: 0}
+ - compareOperator: 4
+ anyVar:
+ variable: {fileID: 1292574178}
+ data:
+ animatorData:
+ animatorRef: {fileID: 0}
+ animatorVal: {fileID: 0}
+ audioSourceData:
+ audioSourceRef: {fileID: 0}
+ audioSourceVal: {fileID: 0}
+ booleanData:
+ booleanRef: {fileID: 0}
+ booleanVal: 0
+ collectionData:
+ collectionRef: {fileID: 0}
+ collectionVal: {fileID: 0}
+ collider2DData:
+ collider2DRef: {fileID: 0}
+ collider2DVal: {fileID: 0}
+ colliderData:
+ colliderRef: {fileID: 0}
+ colliderVal: {fileID: 0}
+ colorData:
+ colorRef: {fileID: 0}
+ colorVal: {r: 0, g: 0, b: 0, a: 0}
+ floatData:
+ floatRef: {fileID: 0}
+ floatVal: 0
+ gameObjectData:
+ gameObjectRef: {fileID: 0}
+ gameObjectVal: {fileID: 0}
+ integerData:
+ integerRef: {fileID: 1292574177}
+ integerVal: 0
+ materialData:
+ materialRef: {fileID: 0}
+ materialVal: {fileID: 0}
+ matrix4x4Data:
+ matrix4x4Ref: {fileID: 0}
+ matrix4x4Val:
+ e00: 0
+ e01: 0
+ e02: 0
+ e03: 0
+ e10: 0
+ e11: 0
+ e12: 0
+ e13: 0
+ e20: 0
+ e21: 0
+ e22: 0
+ e23: 0
+ e30: 0
+ e31: 0
+ e32: 0
+ e33: 0
+ objectData:
+ objectRef: {fileID: 0}
+ objectVal: {fileID: 0}
+ quaternionData:
+ quaternionRef: {fileID: 0}
+ quaternionVal: {x: 0, y: 0, z: 0, w: 0}
+ rigidbody2DData:
+ rigidbody2DRef: {fileID: 0}
+ rigidbody2DVal: {fileID: 0}
+ rigidbodyData:
+ rigidbodyRef: {fileID: 0}
+ rigidbodyVal: {fileID: 0}
+ spriteData:
+ spriteRef: {fileID: 0}
+ spriteVal: {fileID: 0}
+ stringData:
+ stringRef: {fileID: 0}
+ stringVal:
+ textureData:
+ textureRef: {fileID: 0}
+ textureVal: {fileID: 0}
+ transformData:
+ transformRef: {fileID: 0}
+ transformVal: {fileID: 0}
+ vector2Data:
+ vector2Ref: {fileID: 0}
+ vector2Val: {x: 0, y: 0}
+ vector3Data:
+ vector3Ref: {fileID: 0}
+ vector3Val: {x: 0, y: 0, z: 0}
+ vector4Data:
+ vector4Ref: {fileID: 0}
+ vector4Val: {x: 0, y: 0, z: 0, w: 0}
+ compareOperator: 0
+ anyVar:
+ variable: {fileID: 0}
+ data:
+ animatorData:
+ animatorRef: {fileID: 0}
+ animatorVal: {fileID: 0}
+ audioSourceData:
+ audioSourceRef: {fileID: 0}
+ audioSourceVal: {fileID: 0}
+ booleanData:
+ booleanRef: {fileID: 0}
+ booleanVal: 0
+ collectionData:
+ collectionRef: {fileID: 0}
+ collectionVal: {fileID: 0}
+ collider2DData:
+ collider2DRef: {fileID: 0}
+ collider2DVal: {fileID: 0}
+ colliderData:
+ colliderRef: {fileID: 0}
+ colliderVal: {fileID: 0}
+ colorData:
+ colorRef: {fileID: 0}
+ colorVal: {r: 0, g: 0, b: 0, a: 0}
+ floatData:
+ floatRef: {fileID: 0}
+ floatVal: 0
+ gameObjectData:
+ gameObjectRef: {fileID: 0}
+ gameObjectVal: {fileID: 0}
+ integerData:
+ integerRef: {fileID: 0}
+ integerVal: 0
+ materialData:
+ materialRef: {fileID: 0}
+ materialVal: {fileID: 0}
+ matrix4x4Data:
+ matrix4x4Ref: {fileID: 0}
+ matrix4x4Val:
+ e00: 0
+ e01: 0
+ e02: 0
+ e03: 0
+ e10: 0
+ e11: 0
+ e12: 0
+ e13: 0
+ e20: 0
+ e21: 0
+ e22: 0
+ e23: 0
+ e30: 0
+ e31: 0
+ e32: 0
+ e33: 0
+ objectData:
+ objectRef: {fileID: 0}
+ objectVal: {fileID: 0}
+ quaternionData:
+ quaternionRef: {fileID: 0}
+ quaternionVal: {x: 0, y: 0, z: 0, w: 0}
+ rigidbody2DData:
+ rigidbody2DRef: {fileID: 0}
+ rigidbody2DVal: {fileID: 0}
+ rigidbodyData:
+ rigidbodyRef: {fileID: 0}
+ rigidbodyVal: {fileID: 0}
+ spriteData:
+ spriteRef: {fileID: 0}
+ spriteVal: {fileID: 0}
+ stringData:
+ stringRef: {fileID: 0}
+ stringVal:
+ textureData:
+ textureRef: {fileID: 0}
+ textureVal: {fileID: 0}
+ transformData:
+ transformRef: {fileID: 0}
+ transformVal: {fileID: 0}
+ vector2Data:
+ vector2Ref: {fileID: 0}
+ vector2Val: {x: 0, y: 0}
+ vector3Data:
+ vector3Ref: {fileID: 0}
+ vector3Val: {x: 0, y: 0, z: 0}
+ vector4Data:
+ vector4Ref: {fileID: 0}
+ vector4Val: {x: 0, y: 0, z: 0, w: 0}
+ variable: {fileID: 0}
+ booleanData:
+ booleanRef: {fileID: 0}
+ booleanVal: 0
+ integerData:
+ integerRef: {fileID: 0}
+ integerVal: 0
+ floatData:
+ floatRef: {fileID: 0}
+ floatVal: 0
+ stringData:
+ stringRef: {fileID: 0}
+ stringVal:
+ animatorData:
+ animatorRef: {fileID: 0}
+ animatorVal: {fileID: 0}
+ audioSourceData:
+ audioSourceRef: {fileID: 0}
+ audioSourceVal: {fileID: 0}
+ colorData:
+ colorRef: {fileID: 0}
+ colorVal: {r: 0, g: 0, b: 0, a: 0}
+ gameObjectData:
+ gameObjectRef: {fileID: 0}
+ gameObjectVal: {fileID: 0}
+ materialData:
+ materialRef: {fileID: 0}
+ materialVal: {fileID: 0}
+ objectData:
+ objectRef: {fileID: 0}
+ objectVal: {fileID: 0}
+ rigidbody2DData:
+ rigidbody2DRef: {fileID: 0}
+ rigidbody2DVal: {fileID: 0}
+ spriteData:
+ spriteRef: {fileID: 0}
+ spriteVal: {fileID: 0}
+ textureData:
+ textureRef: {fileID: 0}
+ textureVal: {fileID: 0}
+ transformData:
+ transformRef: {fileID: 0}
+ transformVal: {fileID: 0}
+ vector2Data:
+ vector2Ref: {fileID: 0}
+ vector2Val: {x: 0, y: 0}
+ vector3Data:
+ vector3Ref: {fileID: 0}
+ vector3Val: {x: 0, y: 0, z: 0}
+--- !u!114 &1292574164
+MonoBehaviour:
+ m_ObjectHideFlags: 2
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 1292574162}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: d2f6487d21a03404cb21b245f0242e79, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ parentBlock: {fileID: 1292574165}
+ suppressBlockAutoSelect: 0
+ waitForFrames: 1
+--- !u!114 &1292574165
+MonoBehaviour:
+ m_ObjectHideFlags: 2
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 1292574162}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: 3d3d73aef2cfc4f51abf34ac00241f60, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ nodeRect:
+ serializedVersion: 2
+ x: 67
+ y: 70
+ width: 109.2
+ height: 40
+ tint: {r: 1, g: 1, b: 1, a: 1}
+ useCustomTint: 0
+ itemId: 0
+ blockName: If Example
+ description:
+ eventHandler: {fileID: 1292574164}
+ commandList:
+ - {fileID: 1292574163}
+ - {fileID: 1292574170}
+ - {fileID: 1292574174}
+ - {fileID: 1292574169}
+ - {fileID: 1292574173}
+ - {fileID: 1292574168}
+ - {fileID: 1292574172}
+ - {fileID: 1292574185}
+ suppressAllAutoSelections: 0
+--- !u!114 &1292574166
+MonoBehaviour:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 1292574162}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: 7a334fe2ffb574b3583ff3b18b4792d3, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ version: 1
+ scrollPos: {x: 0, y: 0}
+ variablesScrollPos: {x: 0, y: 0}
+ variablesExpanded: 1
+ blockViewHeight: 527
+ zoom: 1
+ scrollViewRect:
+ serializedVersion: 2
+ x: -343
+ y: -340
+ width: 1114
+ height: 859
+ selectedBlocks:
+ - {fileID: 1292574165}
+ selectedCommands:
+ - {fileID: 1292574163}
+ variables:
+ - {fileID: 1292574180}
+ - {fileID: 1292574179}
+ - {fileID: 1292574178}
+ - {fileID: 1292574177}
+ - {fileID: 1292574171}
+ - {fileID: 1292574176}
+ - {fileID: 1292574175}
+ description:
+ stepPause: 0
+ colorCommands: 1
+ hideComponents: 1
+ saveSelection: 1
+ localizationId:
+ showLineNumbers: 0
+ hideCommands: []
+ luaEnvironment: {fileID: 0}
+ luaBindingName: flowchart
+--- !u!4 &1292574167
+Transform:
+ m_ObjectHideFlags: 0
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 1292574162}
+ m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
+ m_LocalPosition: {x: 0, y: 0, z: 0}
+ m_LocalScale: {x: 1, y: 1, z: 1}
+ m_Children: []
+ m_Father: {fileID: 0}
+ m_RootOrder: 2
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
+--- !u!114 &1292574168
+MonoBehaviour:
+ m_ObjectHideFlags: 2
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 1292574162}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: ec422cd568a9c4a31ad7c36d0572b9da, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ itemId: 10
+ indentLevel: 1
+ storyText: In Else
+ description:
+ character: {fileID: 0}
+ portrait: {fileID: 0}
+ voiceOverClip: {fileID: 0}
+ showAlways: 1
+ showCount: 1
+ extendPrevious: 0
+ fadeWhenDone: 1
+ waitForClick: 1
+ stopVoiceover: 1
+ waitForVO: 0
+ setSayDialog: {fileID: 0}
+--- !u!114 &1292574169
+MonoBehaviour:
+ m_ObjectHideFlags: 2
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 1292574162}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: ec422cd568a9c4a31ad7c36d0572b9da, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ itemId: 9
+ indentLevel: 1
+ storyText: Else If condition is True
+ description:
+ character: {fileID: 0}
+ portrait: {fileID: 0}
+ voiceOverClip: {fileID: 0}
+ showAlways: 1
+ showCount: 1
+ extendPrevious: 0
+ fadeWhenDone: 1
+ waitForClick: 1
+ stopVoiceover: 1
+ waitForVO: 0
+ setSayDialog: {fileID: 0}
+--- !u!114 &1292574170
+MonoBehaviour:
+ m_ObjectHideFlags: 2
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 1292574162}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: ec422cd568a9c4a31ad7c36d0572b9da, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ itemId: 8
+ indentLevel: 1
+ storyText: If condition is True
+ description:
+ character: {fileID: 0}
+ portrait: {fileID: 0}
+ voiceOverClip: {fileID: 0}
+ showAlways: 1
+ showCount: 1
+ extendPrevious: 0
+ fadeWhenDone: 1
+ waitForClick: 1
+ stopVoiceover: 1
+ waitForVO: 0
+ setSayDialog: {fileID: 0}
+--- !u!114 &1292574171
+MonoBehaviour:
+ m_ObjectHideFlags: 2
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 1292574162}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: afb91b566ceda411bad1e9d3c3243ecc, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ scope: 0
+ key: C
+ value: 16
+--- !u!114 &1292574172
+MonoBehaviour:
+ m_ObjectHideFlags: 2
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 1292574162}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: 93cb9773f2ca04e2bbf7a68ccfc23267, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ itemId: 7
+ indentLevel: 0
+--- !u!114 &1292574173
+MonoBehaviour:
+ m_ObjectHideFlags: 2
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 1292574162}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: 3fa968f01a7f9496bb50e13dfe16760d, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ itemId: 6
+ indentLevel: 0
+--- !u!114 &1292574174
+MonoBehaviour:
+ m_ObjectHideFlags: 2
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 1292574162}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: 18c5e8d46183346b59f64b820e71f97f, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ itemId: 5
+ indentLevel: 0
+ anyOrAllConditions: 0
+ conditions:
+ - compareOperator: 0
+ anyVar:
+ variable: {fileID: 1292574176}
+ data:
+ animatorData:
+ animatorRef: {fileID: 0}
+ animatorVal: {fileID: 0}
+ audioSourceData:
+ audioSourceRef: {fileID: 0}
+ audioSourceVal: {fileID: 0}
+ booleanData:
+ booleanRef: {fileID: 0}
+ booleanVal: 0
+ collectionData:
+ collectionRef: {fileID: 0}
+ collectionVal: {fileID: 0}
+ collider2DData:
+ collider2DRef: {fileID: 0}
+ collider2DVal: {fileID: 0}
+ colliderData:
+ colliderRef: {fileID: 0}
+ colliderVal: {fileID: 0}
+ colorData:
+ colorRef: {fileID: 0}
+ colorVal: {r: 0, g: 0, b: 0, a: 0}
+ floatData:
+ floatRef: {fileID: 0}
+ floatVal: 0
+ gameObjectData:
+ gameObjectRef: {fileID: 0}
+ gameObjectVal: {fileID: 0}
+ integerData:
+ integerRef: {fileID: 0}
+ integerVal: 0
+ materialData:
+ materialRef: {fileID: 0}
+ materialVal: {fileID: 0}
+ matrix4x4Data:
+ matrix4x4Ref: {fileID: 0}
+ matrix4x4Val:
+ e00: 0
+ e01: 0
+ e02: 0
+ e03: 0
+ e10: 0
+ e11: 0
+ e12: 0
+ e13: 0
+ e20: 0
+ e21: 0
+ e22: 0
+ e23: 0
+ e30: 0
+ e31: 0
+ e32: 0
+ e33: 0
+ objectData:
+ objectRef: {fileID: 0}
+ objectVal: {fileID: 0}
+ quaternionData:
+ quaternionRef: {fileID: 0}
+ quaternionVal: {x: 0, y: 0, z: 0, w: 0}
+ rigidbody2DData:
+ rigidbody2DRef: {fileID: 0}
+ rigidbody2DVal: {fileID: 0}
+ rigidbodyData:
+ rigidbodyRef: {fileID: 0}
+ rigidbodyVal: {fileID: 0}
+ spriteData:
+ spriteRef: {fileID: 0}
+ spriteVal: {fileID: 0}
+ stringData:
+ stringRef: {fileID: 1292574175}
+ stringVal:
+ textureData:
+ textureRef: {fileID: 0}
+ textureVal: {fileID: 0}
+ transformData:
+ transformRef: {fileID: 0}
+ transformVal: {fileID: 0}
+ vector2Data:
+ vector2Ref: {fileID: 0}
+ vector2Val: {x: 0, y: 0}
+ vector3Data:
+ vector3Ref: {fileID: 0}
+ vector3Val: {x: 0, y: 0, z: 0}
+ vector4Data:
+ vector4Ref: {fileID: 0}
+ vector4Val: {x: 0, y: 0, z: 0, w: 0}
+ - compareOperator: 3
+ anyVar:
+ variable: {fileID: 1292574178}
+ data:
+ animatorData:
+ animatorRef: {fileID: 0}
+ animatorVal: {fileID: 0}
+ audioSourceData:
+ audioSourceRef: {fileID: 0}
+ audioSourceVal: {fileID: 0}
+ booleanData:
+ booleanRef: {fileID: 0}
+ booleanVal: 0
+ collectionData:
+ collectionRef: {fileID: 0}
+ collectionVal: {fileID: 0}
+ collider2DData:
+ collider2DRef: {fileID: 0}
+ collider2DVal: {fileID: 0}
+ colliderData:
+ colliderRef: {fileID: 0}
+ colliderVal: {fileID: 0}
+ colorData:
+ colorRef: {fileID: 0}
+ colorVal: {r: 0, g: 0, b: 0, a: 0}
+ floatData:
+ floatRef: {fileID: 0}
+ floatVal: 0
+ gameObjectData:
+ gameObjectRef: {fileID: 0}
+ gameObjectVal: {fileID: 0}
+ integerData:
+ integerRef: {fileID: 1292574177}
+ integerVal: 0
+ materialData:
+ materialRef: {fileID: 0}
+ materialVal: {fileID: 0}
+ matrix4x4Data:
+ matrix4x4Ref: {fileID: 0}
+ matrix4x4Val:
+ e00: 0
+ e01: 0
+ e02: 0
+ e03: 0
+ e10: 0
+ e11: 0
+ e12: 0
+ e13: 0
+ e20: 0
+ e21: 0
+ e22: 0
+ e23: 0
+ e30: 0
+ e31: 0
+ e32: 0
+ e33: 0
+ objectData:
+ objectRef: {fileID: 0}
+ objectVal: {fileID: 0}
+ quaternionData:
+ quaternionRef: {fileID: 0}
+ quaternionVal: {x: 0, y: 0, z: 0, w: 0}
+ rigidbody2DData:
+ rigidbody2DRef: {fileID: 0}
+ rigidbody2DVal: {fileID: 0}
+ rigidbodyData:
+ rigidbodyRef: {fileID: 0}
+ rigidbodyVal: {fileID: 0}
+ spriteData:
+ spriteRef: {fileID: 0}
+ spriteVal: {fileID: 0}
+ stringData:
+ stringRef: {fileID: 0}
+ stringVal:
+ textureData:
+ textureRef: {fileID: 0}
+ textureVal: {fileID: 0}
+ transformData:
+ transformRef: {fileID: 0}
+ transformVal: {fileID: 0}
+ vector2Data:
+ vector2Ref: {fileID: 0}
+ vector2Val: {x: 0, y: 0}
+ vector3Data:
+ vector3Ref: {fileID: 0}
+ vector3Val: {x: 0, y: 0, z: 0}
+ vector4Data:
+ vector4Ref: {fileID: 0}
+ vector4Val: {x: 0, y: 0, z: 0, w: 0}
+ - compareOperator: 3
+ anyVar:
+ variable: {fileID: 1292574178}
+ data:
+ animatorData:
+ animatorRef: {fileID: 0}
+ animatorVal: {fileID: 0}
+ audioSourceData:
+ audioSourceRef: {fileID: 0}
+ audioSourceVal: {fileID: 0}
+ booleanData:
+ booleanRef: {fileID: 1292574179}
+ booleanVal: 0
+ collectionData:
+ collectionRef: {fileID: 0}
+ collectionVal: {fileID: 0}
+ collider2DData:
+ collider2DRef: {fileID: 0}
+ collider2DVal: {fileID: 0}
+ colliderData:
+ colliderRef: {fileID: 0}
+ colliderVal: {fileID: 0}
+ colorData:
+ colorRef: {fileID: 0}
+ colorVal: {r: 0, g: 0, b: 0, a: 0}
+ floatData:
+ floatRef: {fileID: 0}
+ floatVal: 0
+ gameObjectData:
+ gameObjectRef: {fileID: 0}
+ gameObjectVal: {fileID: 0}
+ integerData:
+ integerRef: {fileID: 1292574171}
+ integerVal: 0
+ materialData:
+ materialRef: {fileID: 0}
+ materialVal: {fileID: 0}
+ matrix4x4Data:
+ matrix4x4Ref: {fileID: 0}
+ matrix4x4Val:
+ e00: 0
+ e01: 0
+ e02: 0
+ e03: 0
+ e10: 0
+ e11: 0
+ e12: 0
+ e13: 0
+ e20: 0
+ e21: 0
+ e22: 0
+ e23: 0
+ e30: 0
+ e31: 0
+ e32: 0
+ e33: 0
+ objectData:
+ objectRef: {fileID: 0}
+ objectVal: {fileID: 0}
+ quaternionData:
+ quaternionRef: {fileID: 0}
+ quaternionVal: {x: 0, y: 0, z: 0, w: 0}
+ rigidbody2DData:
+ rigidbody2DRef: {fileID: 0}
+ rigidbody2DVal: {fileID: 0}
+ rigidbodyData:
+ rigidbodyRef: {fileID: 0}
+ rigidbodyVal: {fileID: 0}
+ spriteData:
+ spriteRef: {fileID: 0}
+ spriteVal: {fileID: 0}
+ stringData:
+ stringRef: {fileID: 0}
+ stringVal:
+ textureData:
+ textureRef: {fileID: 0}
+ textureVal: {fileID: 0}
+ transformData:
+ transformRef: {fileID: 0}
+ transformVal: {fileID: 0}
+ vector2Data:
+ vector2Ref: {fileID: 0}
+ vector2Val: {x: 0, y: 0}
+ vector3Data:
+ vector3Ref: {fileID: 0}
+ vector3Val: {x: 0, y: 0, z: 0}
+ vector4Data:
+ vector4Ref: {fileID: 0}
+ vector4Val: {x: 0, y: 0, z: 0, w: 0}
+ compareOperator: 0
+ anyVar:
+ variable: {fileID: 0}
+ data:
+ animatorData:
+ animatorRef: {fileID: 0}
+ animatorVal: {fileID: 0}
+ audioSourceData:
+ audioSourceRef: {fileID: 0}
+ audioSourceVal: {fileID: 0}
+ booleanData:
+ booleanRef: {fileID: 0}
+ booleanVal: 0
+ collectionData:
+ collectionRef: {fileID: 0}
+ collectionVal: {fileID: 0}
+ collider2DData:
+ collider2DRef: {fileID: 0}
+ collider2DVal: {fileID: 0}
+ colliderData:
+ colliderRef: {fileID: 0}
+ colliderVal: {fileID: 0}
+ colorData:
+ colorRef: {fileID: 0}
+ colorVal: {r: 0, g: 0, b: 0, a: 0}
+ floatData:
+ floatRef: {fileID: 0}
+ floatVal: 0
+ gameObjectData:
+ gameObjectRef: {fileID: 0}
+ gameObjectVal: {fileID: 0}
+ integerData:
+ integerRef: {fileID: 0}
+ integerVal: 0
+ materialData:
+ materialRef: {fileID: 0}
+ materialVal: {fileID: 0}
+ matrix4x4Data:
+ matrix4x4Ref: {fileID: 0}
+ matrix4x4Val:
+ e00: 0
+ e01: 0
+ e02: 0
+ e03: 0
+ e10: 0
+ e11: 0
+ e12: 0
+ e13: 0
+ e20: 0
+ e21: 0
+ e22: 0
+ e23: 0
+ e30: 0
+ e31: 0
+ e32: 0
+ e33: 0
+ objectData:
+ objectRef: {fileID: 0}
+ objectVal: {fileID: 0}
+ quaternionData:
+ quaternionRef: {fileID: 0}
+ quaternionVal: {x: 0, y: 0, z: 0, w: 0}
+ rigidbody2DData:
+ rigidbody2DRef: {fileID: 0}
+ rigidbody2DVal: {fileID: 0}
+ rigidbodyData:
+ rigidbodyRef: {fileID: 0}
+ rigidbodyVal: {fileID: 0}
+ spriteData:
+ spriteRef: {fileID: 0}
+ spriteVal: {fileID: 0}
+ stringData:
+ stringRef: {fileID: 0}
+ stringVal:
+ textureData:
+ textureRef: {fileID: 0}
+ textureVal: {fileID: 0}
+ transformData:
+ transformRef: {fileID: 0}
+ transformVal: {fileID: 0}
+ vector2Data:
+ vector2Ref: {fileID: 0}
+ vector2Val: {x: 0, y: 0}
+ vector3Data:
+ vector3Ref: {fileID: 0}
+ vector3Val: {x: 0, y: 0, z: 0}
+ vector4Data:
+ vector4Ref: {fileID: 0}
+ vector4Val: {x: 0, y: 0, z: 0, w: 0}
+ variable: {fileID: 0}
+ booleanData:
+ booleanRef: {fileID: 0}
+ booleanVal: 0
+ integerData:
+ integerRef: {fileID: 0}
+ integerVal: 0
+ floatData:
+ floatRef: {fileID: 0}
+ floatVal: 0
+ stringData:
+ stringRef: {fileID: 0}
+ stringVal:
+ animatorData:
+ animatorRef: {fileID: 0}
+ animatorVal: {fileID: 0}
+ audioSourceData:
+ audioSourceRef: {fileID: 0}
+ audioSourceVal: {fileID: 0}
+ colorData:
+ colorRef: {fileID: 0}
+ colorVal: {r: 0, g: 0, b: 0, a: 0}
+ gameObjectData:
+ gameObjectRef: {fileID: 0}
+ gameObjectVal: {fileID: 0}
+ materialData:
+ materialRef: {fileID: 0}
+ materialVal: {fileID: 0}
+ objectData:
+ objectRef: {fileID: 0}
+ objectVal: {fileID: 0}
+ rigidbody2DData:
+ rigidbody2DRef: {fileID: 0}
+ rigidbody2DVal: {fileID: 0}
+ spriteData:
+ spriteRef: {fileID: 0}
+ spriteVal: {fileID: 0}
+ textureData:
+ textureRef: {fileID: 0}
+ textureVal: {fileID: 0}
+ transformData:
+ transformRef: {fileID: 0}
+ transformVal: {fileID: 0}
+ vector2Data:
+ vector2Ref: {fileID: 0}
+ vector2Val: {x: 0, y: 0}
+ vector3Data:
+ vector3Ref: {fileID: 0}
+ vector3Val: {x: 0, y: 0, z: 0}
+--- !u!114 &1292574175
+MonoBehaviour:
+ m_ObjectHideFlags: 2
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 1292574162}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: 4580f28dd8581476b810b38eea2f1316, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ scope: 0
+ key: bar
+ value: preda2or
+--- !u!114 &1292574176
+MonoBehaviour:
+ m_ObjectHideFlags: 2
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 1292574162}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: 4580f28dd8581476b810b38eea2f1316, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ scope: 0
+ key: foo
+ value: vjs
+--- !u!114 &1292574177
+MonoBehaviour:
+ m_ObjectHideFlags: 2
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 1292574162}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: afb91b566ceda411bad1e9d3c3243ecc, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ scope: 0
+ key: B
+ value: 5
+--- !u!114 &1292574178
+MonoBehaviour:
+ m_ObjectHideFlags: 2
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 1292574162}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: afb91b566ceda411bad1e9d3c3243ecc, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ scope: 0
+ key: A
+ value: 0
+--- !u!114 &1292574179
+MonoBehaviour:
+ m_ObjectHideFlags: 2
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 1292574162}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: 5d02d9822eec54c98afe95bb497211b3, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ scope: 0
+ key: booly
+ value: 0
+--- !u!114 &1292574180
+MonoBehaviour:
+ m_ObjectHideFlags: 2
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 1292574162}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: 5d02d9822eec54c98afe95bb497211b3, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ scope: 0
+ key: boolx
+ value: 0
+--- !u!114 &1292574181
+MonoBehaviour:
+ m_ObjectHideFlags: 2
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 1292574162}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: 93cb9773f2ca04e2bbf7a68ccfc23267, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ itemId: 17
+ indentLevel: 0
+--- !u!114 &1292574182
+MonoBehaviour:
+ m_ObjectHideFlags: 2
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 1292574162}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: fb77d0ce495044f6e9feb91b31798e8c, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ itemId: 16
+ indentLevel: 1
+ anyVar:
+ variable: {fileID: 1292574178}
+ data:
+ animatorData:
+ animatorRef: {fileID: 0}
+ animatorVal: {fileID: 0}
+ audioSourceData:
+ audioSourceRef: {fileID: 0}
+ audioSourceVal: {fileID: 0}
+ booleanData:
+ booleanRef: {fileID: 0}
+ booleanVal: 0
+ collectionData:
+ collectionRef: {fileID: 0}
+ collectionVal: {fileID: 0}
+ collider2DData:
+ collider2DRef: {fileID: 0}
+ collider2DVal: {fileID: 0}
+ colliderData:
+ colliderRef: {fileID: 0}
+ colliderVal: {fileID: 0}
+ colorData:
+ colorRef: {fileID: 0}
+ colorVal: {r: 0, g: 0, b: 0, a: 0}
+ floatData:
+ floatRef: {fileID: 0}
+ floatVal: 0
+ gameObjectData:
+ gameObjectRef: {fileID: 0}
+ gameObjectVal: {fileID: 0}
+ integerData:
+ integerRef: {fileID: 0}
+ integerVal: 1
+ materialData:
+ materialRef: {fileID: 0}
+ materialVal: {fileID: 0}
+ matrix4x4Data:
+ matrix4x4Ref: {fileID: 0}
+ matrix4x4Val:
+ e00: 0
+ e01: 0
+ e02: 0
+ e03: 0
+ e10: 0
+ e11: 0
+ e12: 0
+ e13: 0
+ e20: 0
+ e21: 0
+ e22: 0
+ e23: 0
+ e30: 0
+ e31: 0
+ e32: 0
+ e33: 0
+ objectData:
+ objectRef: {fileID: 0}
+ objectVal: {fileID: 0}
+ quaternionData:
+ quaternionRef: {fileID: 0}
+ quaternionVal: {x: 0, y: 0, z: 0, w: 0}
+ rigidbody2DData:
+ rigidbody2DRef: {fileID: 0}
+ rigidbody2DVal: {fileID: 0}
+ rigidbodyData:
+ rigidbodyRef: {fileID: 0}
+ rigidbodyVal: {fileID: 0}
+ spriteData:
+ spriteRef: {fileID: 0}
+ spriteVal: {fileID: 0}
+ stringData:
+ stringRef: {fileID: 0}
+ stringVal:
+ textureData:
+ textureRef: {fileID: 0}
+ textureVal: {fileID: 0}
+ transformData:
+ transformRef: {fileID: 0}
+ transformVal: {fileID: 0}
+ vector2Data:
+ vector2Ref: {fileID: 0}
+ vector2Val: {x: 0, y: 0}
+ vector3Data:
+ vector3Ref: {fileID: 0}
+ vector3Val: {x: 0, y: 0, z: 0}
+ vector4Data:
+ vector4Ref: {fileID: 0}
+ vector4Val: {x: 0, y: 0, z: 0, w: 0}
+ setOperator: 2
+ variable: {fileID: 0}
+ booleanData:
+ booleanRef: {fileID: 0}
+ booleanVal: 0
+ integerData:
+ integerRef: {fileID: 0}
+ integerVal: 0
+ floatData:
+ floatRef: {fileID: 0}
+ floatVal: 0
+ stringData:
+ stringRef: {fileID: 0}
+ stringVal:
+ animatorData:
+ animatorRef: {fileID: 0}
+ animatorVal: {fileID: 0}
+ audioSourceData:
+ audioSourceRef: {fileID: 0}
+ audioSourceVal: {fileID: 0}
+ colorData:
+ colorRef: {fileID: 0}
+ colorVal: {r: 0, g: 0, b: 0, a: 0}
+ gameObjectData:
+ gameObjectRef: {fileID: 0}
+ gameObjectVal: {fileID: 0}
+ materialData:
+ materialRef: {fileID: 0}
+ materialVal: {fileID: 0}
+ objectData:
+ objectRef: {fileID: 0}
+ objectVal: {fileID: 0}
+ rigidbody2DData:
+ rigidbody2DRef: {fileID: 0}
+ rigidbody2DVal: {fileID: 0}
+ spriteData:
+ spriteRef: {fileID: 0}
+ spriteVal: {fileID: 0}
+ textureData:
+ textureRef: {fileID: 0}
+ textureVal: {fileID: 0}
+ transformData:
+ transformRef: {fileID: 0}
+ transformVal: {fileID: 0}
+ vector2Data:
+ vector2Ref: {fileID: 0}
+ vector2Val: {x: 0, y: 0}
+ vector3Data:
+ vector3Ref: {fileID: 0}
+ vector3Val: {x: 0, y: 0, z: 0}
+--- !u!114 &1292574183
+MonoBehaviour:
+ m_ObjectHideFlags: 2
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 1292574162}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: ec422cd568a9c4a31ad7c36d0572b9da, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ itemId: 15
+ indentLevel: 1
+ storyText: Value of A = {$A}
+ description:
+ character: {fileID: 0}
+ portrait: {fileID: 0}
+ voiceOverClip: {fileID: 0}
+ showAlways: 1
+ showCount: 1
+ extendPrevious: 0
+ fadeWhenDone: 1
+ waitForClick: 1
+ stopVoiceover: 1
+ waitForVO: 0
+ setSayDialog: {fileID: 0}
+--- !u!114 &1292574184
+MonoBehaviour:
+ m_ObjectHideFlags: 2
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 1292574162}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: 663c8a7831a104d16ad7078a4dc2bd10, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ itemId: 14
+ indentLevel: 0
+ anyOrAllConditions: 1
+ conditions:
+ - compareOperator: 2
+ anyVar:
+ variable: {fileID: 1292574178}
+ data:
+ animatorData:
+ animatorRef: {fileID: 0}
+ animatorVal: {fileID: 0}
+ audioSourceData:
+ audioSourceRef: {fileID: 0}
+ audioSourceVal: {fileID: 0}
+ booleanData:
+ booleanRef: {fileID: 0}
+ booleanVal: 0
+ collectionData:
+ collectionRef: {fileID: 0}
+ collectionVal: {fileID: 0}
+ collider2DData:
+ collider2DRef: {fileID: 0}
+ collider2DVal: {fileID: 0}
+ colliderData:
+ colliderRef: {fileID: 0}
+ colliderVal: {fileID: 0}
+ colorData:
+ colorRef: {fileID: 0}
+ colorVal: {r: 0, g: 0, b: 0, a: 0}
+ floatData:
+ floatRef: {fileID: 0}
+ floatVal: 0
+ gameObjectData:
+ gameObjectRef: {fileID: 0}
+ gameObjectVal: {fileID: 0}
+ integerData:
+ integerRef: {fileID: 0}
+ integerVal: 5
+ materialData:
+ materialRef: {fileID: 0}
+ materialVal: {fileID: 0}
+ matrix4x4Data:
+ matrix4x4Ref: {fileID: 0}
+ matrix4x4Val:
+ e00: 0
+ e01: 0
+ e02: 0
+ e03: 0
+ e10: 0
+ e11: 0
+ e12: 0
+ e13: 0
+ e20: 0
+ e21: 0
+ e22: 0
+ e23: 0
+ e30: 0
+ e31: 0
+ e32: 0
+ e33: 0
+ objectData:
+ objectRef: {fileID: 0}
+ objectVal: {fileID: 0}
+ quaternionData:
+ quaternionRef: {fileID: 0}
+ quaternionVal: {x: 0, y: 0, z: 0, w: 0}
+ rigidbody2DData:
+ rigidbody2DRef: {fileID: 0}
+ rigidbody2DVal: {fileID: 0}
+ rigidbodyData:
+ rigidbodyRef: {fileID: 0}
+ rigidbodyVal: {fileID: 0}
+ spriteData:
+ spriteRef: {fileID: 0}
+ spriteVal: {fileID: 0}
+ stringData:
+ stringRef: {fileID: 0}
+ stringVal:
+ textureData:
+ textureRef: {fileID: 0}
+ textureVal: {fileID: 0}
+ transformData:
+ transformRef: {fileID: 0}
+ transformVal: {fileID: 0}
+ vector2Data:
+ vector2Ref: {fileID: 0}
+ vector2Val: {x: 0, y: 0}
+ vector3Data:
+ vector3Ref: {fileID: 0}
+ vector3Val: {x: 0, y: 0, z: 0}
+ vector4Data:
+ vector4Ref: {fileID: 0}
+ vector4Val: {x: 0, y: 0, z: 0, w: 0}
+ - compareOperator: 0
+ anyVar:
+ variable: {fileID: 1292574180}
+ data:
+ animatorData:
+ animatorRef: {fileID: 0}
+ animatorVal: {fileID: 0}
+ audioSourceData:
+ audioSourceRef: {fileID: 0}
+ audioSourceVal: {fileID: 0}
+ booleanData:
+ booleanRef: {fileID: 1292574179}
+ booleanVal: 0
+ collectionData:
+ collectionRef: {fileID: 0}
+ collectionVal: {fileID: 0}
+ collider2DData:
+ collider2DRef: {fileID: 0}
+ collider2DVal: {fileID: 0}
+ colliderData:
+ colliderRef: {fileID: 0}
+ colliderVal: {fileID: 0}
+ colorData:
+ colorRef: {fileID: 0}
+ colorVal: {r: 0, g: 0, b: 0, a: 0}
+ floatData:
+ floatRef: {fileID: 0}
+ floatVal: 0
+ gameObjectData:
+ gameObjectRef: {fileID: 0}
+ gameObjectVal: {fileID: 0}
+ integerData:
+ integerRef: {fileID: 0}
+ integerVal: 0
+ materialData:
+ materialRef: {fileID: 0}
+ materialVal: {fileID: 0}
+ matrix4x4Data:
+ matrix4x4Ref: {fileID: 0}
+ matrix4x4Val:
+ e00: 0
+ e01: 0
+ e02: 0
+ e03: 0
+ e10: 0
+ e11: 0
+ e12: 0
+ e13: 0
+ e20: 0
+ e21: 0
+ e22: 0
+ e23: 0
+ e30: 0
+ e31: 0
+ e32: 0
+ e33: 0
+ objectData:
+ objectRef: {fileID: 0}
+ objectVal: {fileID: 0}
+ quaternionData:
+ quaternionRef: {fileID: 0}
+ quaternionVal: {x: 0, y: 0, z: 0, w: 0}
+ rigidbody2DData:
+ rigidbody2DRef: {fileID: 0}
+ rigidbody2DVal: {fileID: 0}
+ rigidbodyData:
+ rigidbodyRef: {fileID: 0}
+ rigidbodyVal: {fileID: 0}
+ spriteData:
+ spriteRef: {fileID: 0}
+ spriteVal: {fileID: 0}
+ stringData:
+ stringRef: {fileID: 0}
+ stringVal:
+ textureData:
+ textureRef: {fileID: 0}
+ textureVal: {fileID: 0}
+ transformData:
+ transformRef: {fileID: 0}
+ transformVal: {fileID: 0}
+ vector2Data:
+ vector2Ref: {fileID: 0}
+ vector2Val: {x: 0, y: 0}
+ vector3Data:
+ vector3Ref: {fileID: 0}
+ vector3Val: {x: 0, y: 0, z: 0}
+ vector4Data:
+ vector4Ref: {fileID: 0}
+ vector4Val: {x: 0, y: 0, z: 0, w: 0}
+ compareOperator: 0
+ anyVar:
+ variable: {fileID: 0}
+ data:
+ animatorData:
+ animatorRef: {fileID: 0}
+ animatorVal: {fileID: 0}
+ audioSourceData:
+ audioSourceRef: {fileID: 0}
+ audioSourceVal: {fileID: 0}
+ booleanData:
+ booleanRef: {fileID: 0}
+ booleanVal: 0
+ collectionData:
+ collectionRef: {fileID: 0}
+ collectionVal: {fileID: 0}
+ collider2DData:
+ collider2DRef: {fileID: 0}
+ collider2DVal: {fileID: 0}
+ colliderData:
+ colliderRef: {fileID: 0}
+ colliderVal: {fileID: 0}
+ colorData:
+ colorRef: {fileID: 0}
+ colorVal: {r: 0, g: 0, b: 0, a: 0}
+ floatData:
+ floatRef: {fileID: 0}
+ floatVal: 0
+ gameObjectData:
+ gameObjectRef: {fileID: 0}
+ gameObjectVal: {fileID: 0}
+ integerData:
+ integerRef: {fileID: 0}
+ integerVal: 0
+ materialData:
+ materialRef: {fileID: 0}
+ materialVal: {fileID: 0}
+ matrix4x4Data:
+ matrix4x4Ref: {fileID: 0}
+ matrix4x4Val:
+ e00: 0
+ e01: 0
+ e02: 0
+ e03: 0
+ e10: 0
+ e11: 0
+ e12: 0
+ e13: 0
+ e20: 0
+ e21: 0
+ e22: 0
+ e23: 0
+ e30: 0
+ e31: 0
+ e32: 0
+ e33: 0
+ objectData:
+ objectRef: {fileID: 0}
+ objectVal: {fileID: 0}
+ quaternionData:
+ quaternionRef: {fileID: 0}
+ quaternionVal: {x: 0, y: 0, z: 0, w: 0}
+ rigidbody2DData:
+ rigidbody2DRef: {fileID: 0}
+ rigidbody2DVal: {fileID: 0}
+ rigidbodyData:
+ rigidbodyRef: {fileID: 0}
+ rigidbodyVal: {fileID: 0}
+ spriteData:
+ spriteRef: {fileID: 0}
+ spriteVal: {fileID: 0}
+ stringData:
+ stringRef: {fileID: 0}
+ stringVal:
+ textureData:
+ textureRef: {fileID: 0}
+ textureVal: {fileID: 0}
+ transformData:
+ transformRef: {fileID: 0}
+ transformVal: {fileID: 0}
+ vector2Data:
+ vector2Ref: {fileID: 0}
+ vector2Val: {x: 0, y: 0}
+ vector3Data:
+ vector3Ref: {fileID: 0}
+ vector3Val: {x: 0, y: 0, z: 0}
+ vector4Data:
+ vector4Ref: {fileID: 0}
+ vector4Val: {x: 0, y: 0, z: 0, w: 0}
+ variable: {fileID: 0}
+ booleanData:
+ booleanRef: {fileID: 0}
+ booleanVal: 0
+ integerData:
+ integerRef: {fileID: 0}
+ integerVal: 0
+ floatData:
+ floatRef: {fileID: 0}
+ floatVal: 0
+ stringData:
+ stringRef: {fileID: 0}
+ stringVal:
+ animatorData:
+ animatorRef: {fileID: 0}
+ animatorVal: {fileID: 0}
+ audioSourceData:
+ audioSourceRef: {fileID: 0}
+ audioSourceVal: {fileID: 0}
+ colorData:
+ colorRef: {fileID: 0}
+ colorVal: {r: 0, g: 0, b: 0, a: 0}
+ gameObjectData:
+ gameObjectRef: {fileID: 0}
+ gameObjectVal: {fileID: 0}
+ materialData:
+ materialRef: {fileID: 0}
+ materialVal: {fileID: 0}
+ objectData:
+ objectRef: {fileID: 0}
+ objectVal: {fileID: 0}
+ rigidbody2DData:
+ rigidbody2DRef: {fileID: 0}
+ rigidbody2DVal: {fileID: 0}
+ spriteData:
+ spriteRef: {fileID: 0}
+ spriteVal: {fileID: 0}
+ textureData:
+ textureRef: {fileID: 0}
+ textureVal: {fileID: 0}
+ transformData:
+ transformRef: {fileID: 0}
+ transformVal: {fileID: 0}
+ vector2Data:
+ vector2Ref: {fileID: 0}
+ vector2Val: {x: 0, y: 0}
+ vector3Data:
+ vector3Ref: {fileID: 0}
+ vector3Val: {x: 0, y: 0, z: 0}
+--- !u!114 &1292574185
+MonoBehaviour:
+ m_ObjectHideFlags: 2
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 1292574162}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: 050fb9e6e72f442b3b883da8a965bdeb, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ itemId: 13
+ indentLevel: 0
+ targetFlowchart: {fileID: 0}
+ targetBlock: {fileID: 1292574186}
+ startLabel:
+ stringRef: {fileID: 0}
+ stringVal:
+ startIndex: 0
+ callMode: 0
+--- !u!114 &1292574186
+MonoBehaviour:
+ m_ObjectHideFlags: 2
+ m_CorrespondingSourceObject: {fileID: 0}
+ m_PrefabInstance: {fileID: 0}
+ m_PrefabAsset: {fileID: 0}
+ m_GameObject: {fileID: 1292574162}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: 3d3d73aef2cfc4f51abf34ac00241f60, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ nodeRect:
+ serializedVersion: 2
+ x: 229
+ y: 70
+ width: 131.6
+ height: 40
+ tint: {r: 1, g: 1, b: 1, a: 1}
+ useCustomTint: 0
+ itemId: 12
+ blockName: While Example
+ description:
+ eventHandler: {fileID: 0}
+ commandList:
+ - {fileID: 1292574184}
+ - {fileID: 1292574183}
+ - {fileID: 1292574182}
+ - {fileID: 1292574181}
+ suppressAllAutoSelections: 0
diff --git a/Assets/FungusExamples/Conditions/MultipleConditionsExample.unity.meta b/Assets/FungusExamples/Conditions/MultipleConditionsExample.unity.meta
new file mode 100644
index 00000000..6b87412a
--- /dev/null
+++ b/Assets/FungusExamples/Conditions/MultipleConditionsExample.unity.meta
@@ -0,0 +1,7 @@
+fileFormatVersion: 2
+guid: 0d9b345eec71ebc46bfb14d1a3b8af20
+DefaultImporter:
+ externalObjects: {}
+ userData:
+ assetBundleName:
+ assetBundleVariant: