diff --git a/Assets/Fungus/Scripts/Commands/MonoBehaviour.meta b/Assets/Fungus/Scripts/Commands/MonoBehaviour.meta
new file mode 100644
index 00000000..31d80d2b
--- /dev/null
+++ b/Assets/Fungus/Scripts/Commands/MonoBehaviour.meta
@@ -0,0 +1,9 @@
+fileFormatVersion: 2
+guid: f60f5e8a5f80d644eb2f33cdbf2d7bd7
+folderAsset: yes
+timeCreated: 1501747644
+licenseType: Free
+DefaultImporter:
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Fungus/Scripts/Commands/MonoBehaviour/AnimatorState.cs b/Assets/Fungus/Scripts/Commands/MonoBehaviour/AnimatorState.cs
new file mode 100644
index 00000000..9cff9eef
--- /dev/null
+++ b/Assets/Fungus/Scripts/Commands/MonoBehaviour/AnimatorState.cs
@@ -0,0 +1,50 @@
+using System.Collections;
+using System.Collections.Generic;
+using UnityEngine;
+
+namespace Fungus
+{
+ ///
+ /// The block will execute when the desired OnAnimator* message for the monobehaviour is received.
+ ///
+ [EventHandlerInfo("MonoBehaviour",
+ "Animator",
+ "The block will execute when the desired OnAnimator* message for the monobehaviour is received.")]
+ [AddComponentMenu("")]
+ public class AnimatorState : EventHandler
+ {
+
+ [System.Flags]
+ public enum AnimatorMessageFlags
+ {
+ OnAnimatorIK = 1 << 0,
+ OnAnimatorMove = 1 << 1,
+ }
+
+ [Tooltip("Which of the OnAnimator messages to trigger on.")]
+ [SerializeField]
+ [EnumFlag]
+ protected AnimatorMessageFlags FireOn = AnimatorMessageFlags.OnAnimatorMove;
+
+ [Tooltip("IK layer to trigger on. Negative is all.")]
+ [SerializeField]
+ protected int IKLayer = 1;
+
+ private void OnAnimatorIK(int layer)
+ {
+ if ((FireOn & AnimatorMessageFlags.OnAnimatorIK) != 0 &&
+ (IKLayer == layer || IKLayer < 0) )
+ {
+ ExecuteBlock();
+ }
+ }
+
+ private void OnAnimatorMove()
+ {
+ if ((FireOn & AnimatorMessageFlags.OnAnimatorMove) != 0)
+ {
+ ExecuteBlock();
+ }
+ }
+ }
+}
diff --git a/Assets/Fungus/Scripts/Commands/MonoBehaviour/AnimatorState.cs.meta b/Assets/Fungus/Scripts/Commands/MonoBehaviour/AnimatorState.cs.meta
new file mode 100644
index 00000000..c86b36ec
--- /dev/null
+++ b/Assets/Fungus/Scripts/Commands/MonoBehaviour/AnimatorState.cs.meta
@@ -0,0 +1,12 @@
+fileFormatVersion: 2
+guid: ed7ff13fa21e8d94fbdc0aedae2c95c9
+timeCreated: 1500890783
+licenseType: Free
+MonoImporter:
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Fungus/Scripts/Commands/MonoBehaviour/ApplicationState.cs b/Assets/Fungus/Scripts/Commands/MonoBehaviour/ApplicationState.cs
new file mode 100644
index 00000000..6d4efee2
--- /dev/null
+++ b/Assets/Fungus/Scripts/Commands/MonoBehaviour/ApplicationState.cs
@@ -0,0 +1,64 @@
+using System.Collections;
+using System.Collections.Generic;
+using UnityEngine;
+
+namespace Fungus
+{
+ ///
+ /// The block will execute when the desired OnApplication message for the monobehaviour is received.
+ ///
+ [EventHandlerInfo("MonoBehaviour",
+ "Application",
+ "The block will execute when the desired OnApplication message for the monobehaviour is received.")]
+ [AddComponentMenu("")]
+ public class ApplicationState : EventHandler
+ {
+
+ [System.Flags]
+ public enum ApplicationMessageFlags
+ {
+ OnApplicationGetFocus = 1 << 0,
+ OnApplicationLoseFocus = 1 << 1,
+ OnApplicationPause = 1 << 2,
+ OnApplicationResume = 1 << 3,
+ OnApplicationQuit = 1 << 4,
+ }
+
+ [Tooltip("Which of the Application messages to trigger on.")]
+ [SerializeField]
+ [EnumFlag]
+ protected ApplicationMessageFlags FireOn = ApplicationMessageFlags.OnApplicationQuit;
+
+ private void OnApplicationFocus(bool focus)
+ {
+ if (
+ (focus && ((FireOn & ApplicationMessageFlags.OnApplicationGetFocus) != 0))
+ ||
+ (!focus && ((FireOn & ApplicationMessageFlags.OnApplicationLoseFocus) != 0))
+ )
+ {
+ ExecuteBlock();
+ }
+ }
+
+ private void OnApplicationPause(bool pause)
+ {
+ if (
+ (pause && (( FireOn & ApplicationMessageFlags.OnApplicationPause) != 0))
+ ||
+ (!pause && ((FireOn & ApplicationMessageFlags.OnApplicationResume) != 0))
+ )
+ {
+ ExecuteBlock();
+ }
+ }
+
+ private void OnApplicationQuit()
+ {
+ if((FireOn & ApplicationMessageFlags.OnApplicationQuit) != 0)
+ {
+ ExecuteBlock();
+ }
+ }
+ }
+}
diff --git a/Assets/Fungus/Scripts/Commands/MonoBehaviour/ApplicationState.cs.meta b/Assets/Fungus/Scripts/Commands/MonoBehaviour/ApplicationState.cs.meta
new file mode 100644
index 00000000..a6916354
--- /dev/null
+++ b/Assets/Fungus/Scripts/Commands/MonoBehaviour/ApplicationState.cs.meta
@@ -0,0 +1,12 @@
+fileFormatVersion: 2
+guid: a4abc7ea9602fa041b47cd2c64fd5a7c
+timeCreated: 1500770156
+licenseType: Free
+MonoImporter:
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Fungus/Scripts/Commands/MonoBehaviour/BasePhysicsEventHandler.cs b/Assets/Fungus/Scripts/Commands/MonoBehaviour/BasePhysicsEventHandler.cs
new file mode 100644
index 00000000..ffe4b120
--- /dev/null
+++ b/Assets/Fungus/Scripts/Commands/MonoBehaviour/BasePhysicsEventHandler.cs
@@ -0,0 +1,34 @@
+using UnityEngine;
+using UnityEngine.UI;
+
+namespace Fungus
+{
+
+ ///
+ /// Base class for all of our physics event handlers
+ ///
+ [AddComponentMenu("")]
+ public abstract class BasePhysicsEventHandler : TagFilteredEventHandler
+ {
+ [System.Flags]
+ public enum PhysicsMessageType
+ {
+ Enter = 1 << 0,
+ Stay = 1 << 1,
+ Exit = 1 << 2,
+ }
+
+ [Tooltip("Which of the 3d physics messages to we trigger on.")]
+ [SerializeField]
+ [EnumFlag]
+ protected PhysicsMessageType FireOn = PhysicsMessageType.Enter;
+
+ protected void ProcessCollider(PhysicsMessageType from, string tagOnOther)
+ {
+ if ((from & FireOn) != 0)
+ {
+ ProcessTagFilter(tagOnOther);
+ }
+ }
+ }
+}
diff --git a/Assets/Fungus/Scripts/Commands/MonoBehaviour/BasePhysicsEventHandler.cs.meta b/Assets/Fungus/Scripts/Commands/MonoBehaviour/BasePhysicsEventHandler.cs.meta
new file mode 100644
index 00000000..116a7df9
--- /dev/null
+++ b/Assets/Fungus/Scripts/Commands/MonoBehaviour/BasePhysicsEventHandler.cs.meta
@@ -0,0 +1,12 @@
+fileFormatVersion: 2
+guid: 21884184fa1f9934f83fc4c966811e46
+timeCreated: 1500723476
+licenseType: Free
+MonoImporter:
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Fungus/Scripts/Commands/MonoBehaviour/CharacterControllerCollide.cs b/Assets/Fungus/Scripts/Commands/MonoBehaviour/CharacterControllerCollide.cs
new file mode 100644
index 00000000..e247a7d1
--- /dev/null
+++ b/Assets/Fungus/Scripts/Commands/MonoBehaviour/CharacterControllerCollide.cs
@@ -0,0 +1,22 @@
+using System.Collections;
+using System.Collections.Generic;
+using UnityEngine;
+
+namespace Fungus
+{
+ ///
+ /// The block will execute when tag filtered OnControllerColliderHit is received.
+ ///
+ [EventHandlerInfo("MonoBehaviour",
+ "CharacterCollider",
+ "The block will execute when tag filtered OnCharacterColliderHit is received")]
+ [AddComponentMenu("")]
+ public class CharacterControllerCollide : TagFilteredEventHandler
+ {
+
+ private void OnControllerColliderHit(ControllerColliderHit hit)
+ {
+ ProcessTagFilter(hit.gameObject.tag);
+ }
+ }
+}
diff --git a/Assets/Fungus/Scripts/Commands/MonoBehaviour/CharacterControllerCollide.cs.meta b/Assets/Fungus/Scripts/Commands/MonoBehaviour/CharacterControllerCollide.cs.meta
new file mode 100644
index 00000000..d34277c6
--- /dev/null
+++ b/Assets/Fungus/Scripts/Commands/MonoBehaviour/CharacterControllerCollide.cs.meta
@@ -0,0 +1,12 @@
+fileFormatVersion: 2
+guid: d70204a08ba195943a1e21ec64d17bd5
+timeCreated: 1500890236
+licenseType: Free
+MonoImporter:
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Fungus/Scripts/Commands/MonoBehaviour/Collision.cs b/Assets/Fungus/Scripts/Commands/MonoBehaviour/Collision.cs
new file mode 100644
index 00000000..a9305c99
--- /dev/null
+++ b/Assets/Fungus/Scripts/Commands/MonoBehaviour/Collision.cs
@@ -0,0 +1,31 @@
+using UnityEngine;
+using UnityEngine.UI;
+
+namespace Fungus
+{
+
+ ///
+ /// The block will execute when a 3d physics collision matching some basic conditions is met
+ ///
+ [EventHandlerInfo("MonoBehaviour",
+ "Collision",
+ "The block will execute when a 3d physics collision matching some basic conditions is met.")]
+ [AddComponentMenu("")]
+ public class Collision : BasePhysicsEventHandler
+ {
+ private void OnCollisionEnter(UnityEngine.Collision collision)
+ {
+ ProcessCollider(PhysicsMessageType.Enter, collision.collider.tag);
+ }
+
+ private void OnCollisionStay(UnityEngine.Collision collision)
+ {
+ ProcessCollider(PhysicsMessageType.Stay, collision.collider.tag);
+ }
+
+ private void OnCollisionExit(UnityEngine.Collision collision)
+ {
+ ProcessCollider(PhysicsMessageType.Exit, collision.collider.tag);
+ }
+ }
+}
diff --git a/Assets/Fungus/Scripts/Commands/MonoBehaviour/Collision.cs.meta b/Assets/Fungus/Scripts/Commands/MonoBehaviour/Collision.cs.meta
new file mode 100644
index 00000000..dd539f13
--- /dev/null
+++ b/Assets/Fungus/Scripts/Commands/MonoBehaviour/Collision.cs.meta
@@ -0,0 +1,12 @@
+fileFormatVersion: 2
+guid: d3b4d2ce0fcd12448ab6b4492be6ca77
+timeCreated: 1500107193
+licenseType: Free
+MonoImporter:
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Fungus/Scripts/Commands/MonoBehaviour/Collision2D.cs b/Assets/Fungus/Scripts/Commands/MonoBehaviour/Collision2D.cs
new file mode 100644
index 00000000..1666feee
--- /dev/null
+++ b/Assets/Fungus/Scripts/Commands/MonoBehaviour/Collision2D.cs
@@ -0,0 +1,30 @@
+using UnityEngine;
+using UnityEngine.UI;
+
+namespace Fungus
+{
+ ///
+ /// The block will execute when a 2d physics collision matching some basic conditions is met
+ ///
+ [EventHandlerInfo("MonoBehaviour",
+ "Collision2D",
+ "The block will execute when a 2d physics collision matching some basic conditions is met.")]
+ [AddComponentMenu("")]
+ public class Collision2D : BasePhysicsEventHandler
+ {
+ private void OnCollisionEnter2D(UnityEngine.Collision2D collision)
+ {
+ ProcessCollider(PhysicsMessageType.Enter, collision.collider.tag);
+ }
+
+ private void OnCollisionStay2D(UnityEngine.Collision2D collision)
+ {
+ ProcessCollider(PhysicsMessageType.Stay, collision.collider.tag);
+ }
+
+ private void OnCollisionExit2D(UnityEngine.Collision2D collision)
+ {
+ ProcessCollider(PhysicsMessageType.Exit, collision.collider.tag);
+ }
+ }
+}
diff --git a/Assets/Fungus/Scripts/Commands/MonoBehaviour/Collision2D.cs.meta b/Assets/Fungus/Scripts/Commands/MonoBehaviour/Collision2D.cs.meta
new file mode 100644
index 00000000..4fd8c971
--- /dev/null
+++ b/Assets/Fungus/Scripts/Commands/MonoBehaviour/Collision2D.cs.meta
@@ -0,0 +1,12 @@
+fileFormatVersion: 2
+guid: c23faba06619da442a984c0c71a87df4
+timeCreated: 1500112113
+licenseType: Free
+MonoImporter:
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Fungus/Scripts/Commands/MonoBehaviour/Mouse.cs b/Assets/Fungus/Scripts/Commands/MonoBehaviour/Mouse.cs
new file mode 100644
index 00000000..49c4cb6f
--- /dev/null
+++ b/Assets/Fungus/Scripts/Commands/MonoBehaviour/Mouse.cs
@@ -0,0 +1,77 @@
+using System.Collections;
+using System.Collections.Generic;
+using UnityEngine;
+
+namespace Fungus
+{
+ ///
+ /// The block will execute when the desired OnMouse* message for the monobehaviour is received
+ ///
+ [EventHandlerInfo("MonoBehaviour",
+ "Mouse",
+ "The block will execute when the desired OnMouse* message for the monobehaviour is received")]
+ [AddComponentMenu("")]
+ public class Mouse : EventHandler
+ {
+
+ [System.Flags]
+ public enum MouseMessageFlags
+ {
+ OnMouseDown = 1 << 0,
+ OnMouseDrag = 1 << 1,
+ OnMouseEnter = 1 << 2,
+ OnMouseExit = 1 << 3,
+ OnMouseOver = 1 << 4,
+ OnMouseUp = 1 << 5,
+ OnMouseUpAsButton = 1 << 6,
+ }
+
+ [Tooltip("Which of the Mouse messages to trigger on.")]
+ [SerializeField]
+ [EnumFlag]
+ protected MouseMessageFlags FireOn = MouseMessageFlags.OnMouseUpAsButton;
+
+ private void OnMouseDown()
+ {
+ HandleTriggering(MouseMessageFlags.OnMouseDown);
+ }
+
+ private void OnMouseDrag()
+ {
+ HandleTriggering(MouseMessageFlags.OnMouseDrag);
+ }
+
+ private void OnMouseEnter()
+ {
+ HandleTriggering(MouseMessageFlags.OnMouseEnter);
+ }
+
+ private void OnMouseExit()
+ {
+ HandleTriggering(MouseMessageFlags.OnMouseExit);
+ }
+
+ private void OnMouseOver()
+ {
+ HandleTriggering(MouseMessageFlags.OnMouseOver);
+ }
+
+ private void OnMouseUp()
+ {
+ HandleTriggering(MouseMessageFlags.OnMouseUp);
+ }
+
+ private void OnMouseUpAsButton()
+ {
+ HandleTriggering(MouseMessageFlags.OnMouseUpAsButton);
+ }
+
+ private void HandleTriggering(MouseMessageFlags from)
+ {
+ if((from & FireOn) != 0)
+ {
+ ExecuteBlock();
+ }
+ }
+ }
+}
diff --git a/Assets/Fungus/Scripts/Commands/MonoBehaviour/Mouse.cs.meta b/Assets/Fungus/Scripts/Commands/MonoBehaviour/Mouse.cs.meta
new file mode 100644
index 00000000..784c141a
--- /dev/null
+++ b/Assets/Fungus/Scripts/Commands/MonoBehaviour/Mouse.cs.meta
@@ -0,0 +1,12 @@
+fileFormatVersion: 2
+guid: dfcefb900be84c948bbe013dc8ffefb5
+timeCreated: 1500723160
+licenseType: Free
+MonoImporter:
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Fungus/Scripts/Commands/MonoBehaviour/Particle.cs b/Assets/Fungus/Scripts/Commands/MonoBehaviour/Particle.cs
new file mode 100644
index 00000000..a7c66433
--- /dev/null
+++ b/Assets/Fungus/Scripts/Commands/MonoBehaviour/Particle.cs
@@ -0,0 +1,46 @@
+using System.Collections;
+using System.Collections.Generic;
+using UnityEngine;
+
+namespace Fungus
+{
+ ///
+ /// The block will execute when the desired OnParticle message for the monobehaviour is received.
+ ///
+ [EventHandlerInfo("MonoBehaviour",
+ "Particle",
+ "The block will execute when the desired OnParticle message for the monobehaviour is received.")]
+ [AddComponentMenu("")]
+ public class Particle : TagFilteredEventHandler
+ {
+
+ [System.Flags]
+ public enum ParticleMessageFlags
+ {
+ OnParticleCollision = 1 << 0,
+ OnParticleTrigger = 1 << 1,
+
+ }
+
+ [Tooltip("Which of the Rendering messages to trigger on.")]
+ [SerializeField]
+ [EnumFlag]
+ protected ParticleMessageFlags FireOn = ParticleMessageFlags.OnParticleCollision;
+
+ private void OnParticleCollision(GameObject other)
+ {
+ if ((FireOn & ParticleMessageFlags.OnParticleCollision) != 0)
+ {
+ ProcessTagFilter(other.tag);
+ }
+ }
+
+ private void OnParticleTrigger()
+ {
+ if ((FireOn & ParticleMessageFlags.OnParticleTrigger) != 0)
+ {
+ ExecuteBlock();
+ }
+ }
+ }
+}
diff --git a/Assets/Fungus/Scripts/Commands/MonoBehaviour/Particle.cs.meta b/Assets/Fungus/Scripts/Commands/MonoBehaviour/Particle.cs.meta
new file mode 100644
index 00000000..6ffeb764
--- /dev/null
+++ b/Assets/Fungus/Scripts/Commands/MonoBehaviour/Particle.cs.meta
@@ -0,0 +1,12 @@
+fileFormatVersion: 2
+guid: e33f54c502fbc974ab0e725f4ce0ec17
+timeCreated: 1500889191
+licenseType: Free
+MonoImporter:
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Fungus/Scripts/Commands/MonoBehaviour/Render.cs b/Assets/Fungus/Scripts/Commands/MonoBehaviour/Render.cs
new file mode 100644
index 00000000..4aa2077b
--- /dev/null
+++ b/Assets/Fungus/Scripts/Commands/MonoBehaviour/Render.cs
@@ -0,0 +1,96 @@
+using System.Collections;
+using System.Collections.Generic;
+using UnityEngine;
+
+namespace Fungus
+{
+ ///
+ /// The block will execute when the desired Rendering related message for the monobehaviour is received.
+ ///
+ [EventHandlerInfo("MonoBehaviour",
+ "Render",
+ "The block will execute when the desired Rendering related message for the monobehaviour is received.")]
+ [AddComponentMenu("")]
+ public class Render : EventHandler
+ {
+
+ [System.Flags]
+ public enum RenderMessageFlags
+ {
+ OnPostRender = 1 << 0,
+ OnPreCull = 1 << 1,
+ OnPreRender = 1 << 2,
+ //OnRenderImage = 1 << 3,
+ OnRenderObject = 1 << 4,
+ OnWillRenderObject = 1 << 5,
+ OnBecameInvisible = 1 << 6,
+ OnBecameVisible = 1 << 7,
+ }
+
+ [Tooltip("Which of the Rendering messages to trigger on.")]
+ [SerializeField]
+ [EnumFlag]
+ protected RenderMessageFlags FireOn = RenderMessageFlags.OnWillRenderObject;
+
+ private void OnPostRender()
+ {
+ if((FireOn & RenderMessageFlags.OnPostRender) != 0)
+ {
+ ExecuteBlock();
+ }
+ }
+
+ private void OnPreCull()
+ {
+ if ((FireOn & RenderMessageFlags.OnPreCull) != 0)
+ {
+ ExecuteBlock();
+ }
+ }
+
+ private void OnPreRender()
+ {
+ if ((FireOn & RenderMessageFlags.OnPreRender) != 0)
+ {
+ ExecuteBlock();
+ }
+ }
+
+ private void OnRenderImage(RenderTexture source, RenderTexture destination)
+ {
+ //TODO
+ }
+
+ private void OnRenderObject()
+ {
+ if ((FireOn & RenderMessageFlags.OnRenderObject) != 0)
+ {
+ ExecuteBlock();
+ }
+ }
+
+ private void OnWillRenderObject()
+ {
+ if ((FireOn & RenderMessageFlags.OnWillRenderObject) != 0)
+ {
+ ExecuteBlock();
+ }
+ }
+
+ private void OnBecameInvisible()
+ {
+ if ((FireOn & RenderMessageFlags.OnBecameInvisible) != 0)
+ {
+ ExecuteBlock();
+ }
+ }
+
+ private void OnBecameVisible()
+ {
+ if ((FireOn & RenderMessageFlags.OnBecameVisible) != 0)
+ {
+ ExecuteBlock();
+ }
+ }
+ }
+}
diff --git a/Assets/Fungus/Scripts/Commands/MonoBehaviour/Render.cs.meta b/Assets/Fungus/Scripts/Commands/MonoBehaviour/Render.cs.meta
new file mode 100644
index 00000000..bc0077b5
--- /dev/null
+++ b/Assets/Fungus/Scripts/Commands/MonoBehaviour/Render.cs.meta
@@ -0,0 +1,12 @@
+fileFormatVersion: 2
+guid: f398676485e82e34398f24b0f502aace
+timeCreated: 1500809136
+licenseType: Free
+MonoImporter:
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Fungus/Scripts/Commands/MonoBehaviour/TagFilteredEventHandler.cs b/Assets/Fungus/Scripts/Commands/MonoBehaviour/TagFilteredEventHandler.cs
new file mode 100644
index 00000000..8cd7782e
--- /dev/null
+++ b/Assets/Fungus/Scripts/Commands/MonoBehaviour/TagFilteredEventHandler.cs
@@ -0,0 +1,31 @@
+using UnityEngine;
+using UnityEngine.UI;
+
+namespace Fungus
+{
+ ///
+ /// Base class for all of our physics event handlers
+ ///
+ [AddComponentMenu("")]
+ public abstract class TagFilteredEventHandler : EventHandler
+ {
+ [Tooltip("Only fire the event if one of the tags match. Empty means any will fire.")]
+ [SerializeField]
+ protected string[] tagFilter;
+
+ protected void ProcessTagFilter(string tagOnOther)
+ {
+ if (tagFilter.Length == 0)
+ {
+ ExecuteBlock();
+ }
+ else
+ {
+ if (System.Array.IndexOf(tagFilter, tagOnOther) != -1)
+ {
+ ExecuteBlock();
+ }
+ }
+ }
+ }
+}
diff --git a/Assets/Fungus/Scripts/Commands/MonoBehaviour/TagFilteredEventHandler.cs.meta b/Assets/Fungus/Scripts/Commands/MonoBehaviour/TagFilteredEventHandler.cs.meta
new file mode 100644
index 00000000..347d4712
--- /dev/null
+++ b/Assets/Fungus/Scripts/Commands/MonoBehaviour/TagFilteredEventHandler.cs.meta
@@ -0,0 +1,12 @@
+fileFormatVersion: 2
+guid: e092863ceee1e37438e7c5238299fcc3
+timeCreated: 1500890048
+licenseType: Free
+MonoImporter:
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Fungus/Scripts/Commands/MonoBehaviour/TransformChanged.cs b/Assets/Fungus/Scripts/Commands/MonoBehaviour/TransformChanged.cs
new file mode 100644
index 00000000..2dee96b5
--- /dev/null
+++ b/Assets/Fungus/Scripts/Commands/MonoBehaviour/TransformChanged.cs
@@ -0,0 +1,45 @@
+using System.Collections;
+using System.Collections.Generic;
+using UnityEngine;
+
+namespace Fungus
+{
+ ///
+ /// The block will execute when the desired OnTransform related message for the monobehaviour is received.
+ ///
+ [EventHandlerInfo("MonoBehaviour",
+ "Transform",
+ "The block will execute when the desired OnTransform related message for the monobehaviour is received.")]
+ [AddComponentMenu("")]
+ public class TransformChanged : EventHandler
+ {
+
+ [System.Flags]
+ public enum TransformMessageFlags
+ {
+ OnTransformChildrenChanged = 1 << 0,
+ OnTransformParentChanged = 1 << 1,
+ }
+
+ [Tooltip("Which of the OnTransformChanged messages to trigger on.")]
+ [SerializeField]
+ [EnumFlag]
+ protected TransformMessageFlags FireOn = TransformMessageFlags.OnTransformChildrenChanged | TransformMessageFlags.OnTransformParentChanged;
+
+ private void OnTransformChildrenChanged()
+ {
+ if ((FireOn & TransformMessageFlags.OnTransformChildrenChanged) != 0)
+ {
+ ExecuteBlock();
+ }
+ }
+
+ private void OnTransformParentChanged()
+ {
+ if ((FireOn & TransformMessageFlags.OnTransformParentChanged) != 0)
+ {
+ ExecuteBlock();
+ }
+ }
+ }
+}
diff --git a/Assets/Fungus/Scripts/Commands/MonoBehaviour/TransformChanged.cs.meta b/Assets/Fungus/Scripts/Commands/MonoBehaviour/TransformChanged.cs.meta
new file mode 100644
index 00000000..2d835cbb
--- /dev/null
+++ b/Assets/Fungus/Scripts/Commands/MonoBehaviour/TransformChanged.cs.meta
@@ -0,0 +1,12 @@
+fileFormatVersion: 2
+guid: 3e7a2be9924b35c4eb6853121a323026
+timeCreated: 1500883183
+licenseType: Free
+MonoImporter:
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Fungus/Scripts/Commands/MonoBehaviour/Trigger.cs b/Assets/Fungus/Scripts/Commands/MonoBehaviour/Trigger.cs
new file mode 100644
index 00000000..53b94f2b
--- /dev/null
+++ b/Assets/Fungus/Scripts/Commands/MonoBehaviour/Trigger.cs
@@ -0,0 +1,30 @@
+using UnityEngine;
+using UnityEngine.UI;
+
+namespace Fungus
+{
+ ///
+ /// The block will execute when a 3d physics trigger matching some basic conditions is met.
+ ///
+ [EventHandlerInfo("MonoBehaviour",
+ "Trigger",
+ "The block will execute when a 3d physics trigger matching some basic conditions is met.")]
+ [AddComponentMenu("")]
+ public class Trigger : BasePhysicsEventHandler
+ {
+ private void OnTriggerEnter(Collider col)
+ {
+ ProcessCollider(PhysicsMessageType.Enter, col.tag);
+ }
+
+ private void OnTriggerStay(Collider col)
+ {
+ ProcessCollider(PhysicsMessageType.Stay, col.tag);
+ }
+
+ private void OnTriggerExit(Collider col)
+ {
+ ProcessCollider(PhysicsMessageType.Exit, col.tag);
+ }
+ }
+}
diff --git a/Assets/Fungus/Scripts/Commands/MonoBehaviour/Trigger.cs.meta b/Assets/Fungus/Scripts/Commands/MonoBehaviour/Trigger.cs.meta
new file mode 100644
index 00000000..c2edc204
--- /dev/null
+++ b/Assets/Fungus/Scripts/Commands/MonoBehaviour/Trigger.cs.meta
@@ -0,0 +1,12 @@
+fileFormatVersion: 2
+guid: a98f5f89242e80d42865cdf1912beda3
+timeCreated: 1500111643
+licenseType: Free
+MonoImporter:
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Fungus/Scripts/Commands/MonoBehaviour/Trigger2D.cs b/Assets/Fungus/Scripts/Commands/MonoBehaviour/Trigger2D.cs
new file mode 100644
index 00000000..5f9b9280
--- /dev/null
+++ b/Assets/Fungus/Scripts/Commands/MonoBehaviour/Trigger2D.cs
@@ -0,0 +1,31 @@
+using UnityEngine;
+using UnityEngine.UI;
+
+namespace Fungus
+{
+ ///
+ /// The block will execute when a 2d physics trigger matching some basic conditions is met.
+ ///
+ [EventHandlerInfo("MonoBehaviour",
+ "Trigger2D",
+ "The block will execute when a 2d physics trigger matching some basic conditions is met.")]
+ [AddComponentMenu("")]
+ public class Trigger2D : BasePhysicsEventHandler
+ {
+ private void OnTriggerEnter2D(Collider2D col)
+ {
+ ProcessCollider(PhysicsMessageType.Enter, col.tag);
+ }
+
+ private void OnTriggerStay2D(Collider2D col)
+ {
+ ProcessCollider(PhysicsMessageType.Stay, col.tag);
+ }
+
+ private void OnTriggerExit2D(Collider2D col)
+ {
+ ProcessCollider(PhysicsMessageType.Exit, col.tag);
+ }
+
+ }
+}
diff --git a/Assets/Fungus/Scripts/Commands/MonoBehaviour/Trigger2D.cs.meta b/Assets/Fungus/Scripts/Commands/MonoBehaviour/Trigger2D.cs.meta
new file mode 100644
index 00000000..ad359094
--- /dev/null
+++ b/Assets/Fungus/Scripts/Commands/MonoBehaviour/Trigger2D.cs.meta
@@ -0,0 +1,12 @@
+fileFormatVersion: 2
+guid: 78c1a9f24ac376a47838385391f83acc
+timeCreated: 1500112113
+licenseType: Free
+MonoImporter:
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Fungus/Scripts/Commands/MonoBehaviour/UpdateTick.cs b/Assets/Fungus/Scripts/Commands/MonoBehaviour/UpdateTick.cs
new file mode 100644
index 00000000..b958c00f
--- /dev/null
+++ b/Assets/Fungus/Scripts/Commands/MonoBehaviour/UpdateTick.cs
@@ -0,0 +1,54 @@
+using System.Collections;
+using System.Collections.Generic;
+using UnityEngine;
+
+namespace Fungus
+{
+ ///
+ /// The block will execute every chosen Update, or FixedUpdate or LateUpdate.
+ ///
+ [EventHandlerInfo("MonoBehaviour",
+ "Update",
+ "The block will execute every chosen Update, or FixedUpdate or LateUpdate.")]
+ [AddComponentMenu("")]
+ public class UpdateTick : EventHandler
+ {
+
+ [System.Flags]
+ public enum UpdateMessageFlags
+ {
+ Update = 1 << 0,
+ FixedUpdate = 1 << 1,
+ LateUpdate = 1 << 2,
+ }
+
+ [Tooltip("Which of the Update messages to trigger on.")]
+ [SerializeField]
+ [EnumFlag]
+ protected UpdateMessageFlags FireOn = UpdateMessageFlags.Update;
+
+ private void Update()
+ {
+ if((FireOn & UpdateMessageFlags.Update) != 0)
+ {
+ ExecuteBlock();
+ }
+ }
+
+ private void FixedUpdate()
+ {
+ if ((FireOn & UpdateMessageFlags.FixedUpdate) != 0)
+ {
+ ExecuteBlock();
+ }
+ }
+
+ private void LateUpdate()
+ {
+ if ((FireOn & UpdateMessageFlags.LateUpdate) != 0)
+ {
+ ExecuteBlock();
+ }
+ }
+ }
+}
diff --git a/Assets/Fungus/Scripts/Commands/MonoBehaviour/UpdateTick.cs.meta b/Assets/Fungus/Scripts/Commands/MonoBehaviour/UpdateTick.cs.meta
new file mode 100644
index 00000000..b22584c8
--- /dev/null
+++ b/Assets/Fungus/Scripts/Commands/MonoBehaviour/UpdateTick.cs.meta
@@ -0,0 +1,12 @@
+fileFormatVersion: 2
+guid: d2fbef54b0b0adb41ab9b447a8f3cbdb
+timeCreated: 1500790366
+licenseType: Free
+MonoImporter:
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Fungus/Scripts/Editor/EnumFlagDrawer.cs b/Assets/Fungus/Scripts/Editor/EnumFlagDrawer.cs
new file mode 100644
index 00000000..d38aa663
--- /dev/null
+++ b/Assets/Fungus/Scripts/Editor/EnumFlagDrawer.cs
@@ -0,0 +1,48 @@
+//from http://wiki.unity3d.com/index.php/EnumFlagPropertyDrawer
+
+//placed in fungus namespace to avoid collisions with your own
+
+using System;
+using System.Reflection;
+using UnityEditor;
+using UnityEngine;
+
+namespace Fungus
+{
+ [CustomPropertyDrawer(typeof(EnumFlagAttribute))]
+ public class EnumFlagDrawer : PropertyDrawer
+ {
+ public override void OnGUI(Rect position, SerializedProperty property, GUIContent label)
+ {
+ EnumFlagAttribute flagSettings = (EnumFlagAttribute)attribute;
+ Enum targetEnum = GetBaseProperty(property);
+
+ string propName = flagSettings.enumName;
+ if (string.IsNullOrEmpty(propName))
+ propName = property.name;
+
+ EditorGUI.BeginProperty(position, label, property);
+ Enum enumNew = EditorGUI.EnumMaskField(position, propName, targetEnum);
+ property.intValue = (int)Convert.ChangeType(enumNew, targetEnum.GetType());
+ EditorGUI.EndProperty();
+ }
+
+ static T GetBaseProperty(SerializedProperty prop)
+ {
+ // Separate the steps it takes to get to this property
+ string[] separatedPaths = prop.propertyPath.Split('.');
+
+ // Go down to the root of this serialized property
+ System.Object reflectionTarget = prop.serializedObject.targetObject as object;
+ // Walk down the path to get the target object
+ foreach (var path in separatedPaths)
+ {
+ var t = reflectionTarget.GetType();
+ //with support for private types via https://gist.github.com/ChemiKhazi/11395776
+ FieldInfo fieldInfo = t.GetField(path, BindingFlags.NonPublic | BindingFlags.Public | BindingFlags.Instance);
+ reflectionTarget = fieldInfo.GetValue(reflectionTarget);
+ }
+ return (T)reflectionTarget;
+ }
+ }
+}
\ No newline at end of file
diff --git a/Assets/Fungus/Scripts/Editor/EnumFlagDrawer.cs.meta b/Assets/Fungus/Scripts/Editor/EnumFlagDrawer.cs.meta
new file mode 100644
index 00000000..c06afd41
--- /dev/null
+++ b/Assets/Fungus/Scripts/Editor/EnumFlagDrawer.cs.meta
@@ -0,0 +1,12 @@
+fileFormatVersion: 2
+guid: 7409906689b3fb843b5997940f2dd461
+timeCreated: 1501747644
+licenseType: Free
+MonoImporter:
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/Fungus/Scripts/EnumFlagAttribute.cs b/Assets/Fungus/Scripts/EnumFlagAttribute.cs
new file mode 100644
index 00000000..d923db5b
--- /dev/null
+++ b/Assets/Fungus/Scripts/EnumFlagAttribute.cs
@@ -0,0 +1,20 @@
+//from http://wiki.unity3d.com/index.php/EnumFlagPropertyDrawer
+
+//placed in fungus namespace to avoid collisions with your own
+
+using UnityEngine;
+
+namespace Fungus
+{
+ public class EnumFlagAttribute : PropertyAttribute
+ {
+ public string enumName;
+
+ public EnumFlagAttribute() { }
+
+ public EnumFlagAttribute(string name)
+ {
+ enumName = name;
+ }
+ }
+}
\ No newline at end of file
diff --git a/Assets/Fungus/Scripts/EnumFlagAttribute.cs.meta b/Assets/Fungus/Scripts/EnumFlagAttribute.cs.meta
new file mode 100644
index 00000000..cd1c4d0f
--- /dev/null
+++ b/Assets/Fungus/Scripts/EnumFlagAttribute.cs.meta
@@ -0,0 +1,12 @@
+fileFormatVersion: 2
+guid: 57825a740e17fa646a703ee1e6161520
+timeCreated: 1501747644
+licenseType: Free
+MonoImporter:
+ serializedVersion: 2
+ defaultReferences: []
+ executionOrder: 0
+ icon: {instanceID: 0}
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/FungusExamples/MonoBehEvents.meta b/Assets/FungusExamples/MonoBehEvents.meta
new file mode 100644
index 00000000..3718d891
--- /dev/null
+++ b/Assets/FungusExamples/MonoBehEvents.meta
@@ -0,0 +1,9 @@
+fileFormatVersion: 2
+guid: bb3a484d61ab6254381a068eaf6dddfe
+folderAsset: yes
+timeCreated: 1501747644
+licenseType: Free
+DefaultImporter:
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/FungusExamples/MonoBehEvents/Blank.mat b/Assets/FungusExamples/MonoBehEvents/Blank.mat
new file mode 100644
index 00000000..08c15a60
--- /dev/null
+++ b/Assets/FungusExamples/MonoBehEvents/Blank.mat
@@ -0,0 +1,75 @@
+%YAML 1.1
+%TAG !u! tag:unity3d.com,2011:
+--- !u!21 &2100000
+Material:
+ serializedVersion: 6
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_Name: Blank
+ m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
+ m_ShaderKeywords:
+ m_LightmapFlags: 4
+ m_EnableInstancingVariants: 0
+ m_CustomRenderQueue: -1
+ stringTagMap: {}
+ disabledShaderPasses: []
+ m_SavedProperties:
+ serializedVersion: 3
+ m_TexEnvs:
+ - _BumpMap:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _DetailAlbedoMap:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _DetailMask:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _DetailNormalMap:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _EmissionMap:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _MainTex:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _MetallicGlossMap:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _OcclusionMap:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ - _ParallaxMap:
+ m_Texture: {fileID: 0}
+ m_Scale: {x: 1, y: 1}
+ m_Offset: {x: 0, y: 0}
+ m_Floats:
+ - _BumpScale: 1
+ - _Cutoff: 0.5
+ - _DetailNormalMapScale: 1
+ - _DstBlend: 0
+ - _GlossMapScale: 1
+ - _Glossiness: 0.5
+ - _GlossyReflections: 1
+ - _Metallic: 0
+ - _Mode: 0
+ - _OcclusionStrength: 1
+ - _Parallax: 0.02
+ - _SmoothnessTextureChannel: 0
+ - _SpecularHighlights: 1
+ - _SrcBlend: 1
+ - _UVSec: 0
+ - _ZWrite: 1
+ m_Colors:
+ - _Color: {r: 0.35349885, g: 0.2793103, b: 1, a: 1}
+ - _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
diff --git a/Assets/FungusExamples/MonoBehEvents/Blank.mat.meta b/Assets/FungusExamples/MonoBehEvents/Blank.mat.meta
new file mode 100644
index 00000000..cc66c022
--- /dev/null
+++ b/Assets/FungusExamples/MonoBehEvents/Blank.mat.meta
@@ -0,0 +1,9 @@
+fileFormatVersion: 2
+guid: 44484ce9e8d1f90479abca9c377b9a1c
+timeCreated: 1501234351
+licenseType: Free
+NativeFormatImporter:
+ mainObjectFileID: 2100000
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/FungusExamples/MonoBehEvents/Bouncy.physicMaterial b/Assets/FungusExamples/MonoBehEvents/Bouncy.physicMaterial
new file mode 100644
index 00000000..420f6463
--- /dev/null
+++ b/Assets/FungusExamples/MonoBehEvents/Bouncy.physicMaterial
@@ -0,0 +1,13 @@
+%YAML 1.1
+%TAG !u! tag:unity3d.com,2011:
+--- !u!134 &13400000
+PhysicMaterial:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_Name: Bouncy
+ dynamicFriction: 0.6
+ staticFriction: 0.6
+ bounciness: 0.4
+ frictionCombine: 0
+ bounceCombine: 0
diff --git a/Assets/FungusExamples/MonoBehEvents/Bouncy.physicMaterial.meta b/Assets/FungusExamples/MonoBehEvents/Bouncy.physicMaterial.meta
new file mode 100644
index 00000000..bb82f58b
--- /dev/null
+++ b/Assets/FungusExamples/MonoBehEvents/Bouncy.physicMaterial.meta
@@ -0,0 +1,9 @@
+fileFormatVersion: 2
+guid: 2150f8a2365e2df43be3dbad67a48487
+timeCreated: 1500107071
+licenseType: Free
+NativeFormatImporter:
+ mainObjectFileID: 13400000
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/FungusExamples/MonoBehEvents/Bouncy.physicsMaterial2D b/Assets/FungusExamples/MonoBehEvents/Bouncy.physicsMaterial2D
new file mode 100644
index 00000000..6fa03dfe
--- /dev/null
+++ b/Assets/FungusExamples/MonoBehEvents/Bouncy.physicsMaterial2D
@@ -0,0 +1,10 @@
+%YAML 1.1
+%TAG !u! tag:unity3d.com,2011:
+--- !u!62 &6200000
+PhysicsMaterial2D:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_Name: Bouncy
+ friction: 0.4
+ bounciness: 0.6
diff --git a/Assets/FungusExamples/MonoBehEvents/Bouncy.physicsMaterial2D.meta b/Assets/FungusExamples/MonoBehEvents/Bouncy.physicsMaterial2D.meta
new file mode 100644
index 00000000..ef9696b3
--- /dev/null
+++ b/Assets/FungusExamples/MonoBehEvents/Bouncy.physicsMaterial2D.meta
@@ -0,0 +1,9 @@
+fileFormatVersion: 2
+guid: ee8f7489dfdc8f04ab459adf2cdf2051
+timeCreated: 1500106982
+licenseType: Free
+NativeFormatImporter:
+ mainObjectFileID: 6200000
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/FungusExamples/MonoBehEvents/Hit_Hurt10.wav b/Assets/FungusExamples/MonoBehEvents/Hit_Hurt10.wav
new file mode 100644
index 00000000..f7394b28
Binary files /dev/null and b/Assets/FungusExamples/MonoBehEvents/Hit_Hurt10.wav differ
diff --git a/Assets/FungusExamples/MonoBehEvents/Hit_Hurt10.wav.meta b/Assets/FungusExamples/MonoBehEvents/Hit_Hurt10.wav.meta
new file mode 100644
index 00000000..ab304e4f
--- /dev/null
+++ b/Assets/FungusExamples/MonoBehEvents/Hit_Hurt10.wav.meta
@@ -0,0 +1,22 @@
+fileFormatVersion: 2
+guid: c05250d33e43ca04788384771b988143
+timeCreated: 1500111340
+licenseType: Free
+AudioImporter:
+ serializedVersion: 6
+ defaultSettings:
+ loadType: 0
+ sampleRateSetting: 0
+ sampleRateOverride: 44100
+ compressionFormat: 1
+ quality: 1
+ conversionMode: 0
+ platformSettingOverrides: {}
+ forceToMono: 0
+ normalize: 1
+ preloadAudioData: 1
+ loadInBackground: 0
+ 3D: 1
+ userData:
+ assetBundleName:
+ assetBundleVariant:
diff --git a/Assets/FungusExamples/MonoBehEvents/PhysicsInteraction.unity b/Assets/FungusExamples/MonoBehEvents/PhysicsInteraction.unity
new file mode 100644
index 00000000..c55f05ae
--- /dev/null
+++ b/Assets/FungusExamples/MonoBehEvents/PhysicsInteraction.unity
@@ -0,0 +1,1774 @@
+%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: 8
+ 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}
+--- !u!157 &3
+LightmapSettings:
+ m_ObjectHideFlags: 0
+ serializedVersion: 9
+ m_GIWorkflowMode: 1
+ m_GISettings:
+ serializedVersion: 2
+ m_BounceScale: 1
+ m_IndirectOutputScale: 1
+ m_AlbedoBoost: 1
+ m_TemporalCoherenceThreshold: 1
+ m_EnvironmentLightingMode: 0
+ m_EnableBakedLightmaps: 0
+ m_EnableRealtimeLightmaps: 0
+ m_LightmapEditorSettings:
+ serializedVersion: 8
+ m_Resolution: 2
+ m_BakeResolution: 40
+ m_TextureWidth: 1024
+ m_TextureHeight: 1024
+ m_AO: 0
+ m_AOMaxDistance: 1
+ m_CompAOExponent: 1
+ m_CompAOExponentDirect: 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: 3
+ m_BakeBackend: 0
+ m_PVRSampling: 1
+ m_PVRDirectSampleCount: 32
+ m_PVRSampleCount: 500
+ m_PVRBounces: 2
+ m_PVRFiltering: 0
+ m_PVRFilteringMode: 1
+ m_PVRCulling: 1
+ m_PVRFilteringGaussRadiusDirect: 1
+ m_PVRFilteringGaussRadiusIndirect: 5
+ m_PVRFilteringGaussRadiusAO: 2
+ m_PVRFilteringAtrousColorSigma: 1
+ m_PVRFilteringAtrousNormalSigma: 1
+ m_PVRFilteringAtrousPositionSigma: 1
+ m_LightingDataAsset: {fileID: 0}
+ m_ShadowMaskMode: 2
+--- !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
+ m_NavMeshData: {fileID: 0}
+--- !u!1 &194024290
+GameObject:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ serializedVersion: 5
+ m_Component:
+ - component: {fileID: 194024298}
+ - component: {fileID: 194024297}
+ - component: {fileID: 194024296}
+ - component: {fileID: 194024295}
+ - component: {fileID: 194024294}
+ - component: {fileID: 194024293}
+ - component: {fileID: 194024292}
+ - component: {fileID: 194024291}
+ m_Layer: 0
+ m_Name: TriggerEnter2DTurnOff
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!114 &194024291
+MonoBehaviour:
+ m_ObjectHideFlags: 2
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 194024290}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: 78c1a9f24ac376a47838385391f83acc, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ parentBlock: {fileID: 194024293}
+ tagFilter: []
+ FireOn: 1
+--- !u!114 &194024292
+MonoBehaviour:
+ m_ObjectHideFlags: 2
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 194024290}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: dbd8c931f22994b9d90e2037fffaa770, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ itemId: 1
+ indentLevel: 0
+ _targetGameObject:
+ gameObjectRef: {fileID: 0}
+ gameObjectVal: {fileID: 194024290}
+ activeState:
+ booleanRef: {fileID: 0}
+ booleanVal: 0
+ targetGameObjectOLD: {fileID: 0}
+--- !u!114 &194024293
+MonoBehaviour:
+ m_ObjectHideFlags: 2
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 194024290}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: 3d3d73aef2cfc4f51abf34ac00241f60, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ nodeRect:
+ serializedVersion: 2
+ x: 216
+ y: 216
+ width: 120
+ height: 40
+ tint: {r: 1, g: 1, b: 1, a: 1}
+ useCustomTint: 0
+ itemId: 0
+ blockName: New Block
+ description:
+ eventHandler: {fileID: 194024291}
+ commandList:
+ - {fileID: 194024292}
+--- !u!114 &194024294
+MonoBehaviour:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 194024290}
+ 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: 400
+ zoom: 1
+ scrollViewRect:
+ serializedVersion: 2
+ x: 0
+ y: 0
+ width: 0
+ height: 0
+ selectedBlocks:
+ - {fileID: 194024293}
+ selectedCommands:
+ - {fileID: 194024292}
+ variables: []
+ description:
+ stepPause: 0
+ colorCommands: 1
+ hideComponents: 1
+ saveSelection: 1
+ localizationId:
+ showLineNumbers: 0
+ hideCommands: []
+ luaEnvironment: {fileID: 0}
+ luaBindingName: flowchart
+--- !u!61 &194024295
+BoxCollider2D:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 194024290}
+ m_Enabled: 1
+ m_Density: 1
+ m_Material: {fileID: 0}
+ m_IsTrigger: 1
+ m_UsedByEffector: 0
+ m_UsedByComposite: 0
+ m_Offset: {x: 0, y: 0}
+ m_SpriteTilingProperty:
+ border: {x: 0, y: 0, z: 0, w: 0}
+ pivot: {x: 0, y: 0}
+ oldSize: {x: 0, y: 0}
+ newSize: {x: 0, y: 0}
+ adaptiveTilingThreshold: 0
+ drawMode: 0
+ adaptiveTiling: 0
+ m_AutoTiling: 0
+ serializedVersion: 2
+ m_Size: {x: 1, y: 1}
+ m_EdgeRadius: 0
+--- !u!23 &194024296
+MeshRenderer:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 194024290}
+ m_Enabled: 1
+ m_CastShadows: 1
+ m_ReceiveShadows: 1
+ m_MotionVectors: 1
+ m_LightProbeUsage: 1
+ m_ReflectionProbeUsage: 1
+ m_Materials:
+ - {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0}
+ m_StaticBatchInfo:
+ firstSubMesh: 0
+ subMeshCount: 0
+ m_StaticBatchRoot: {fileID: 0}
+ m_ProbeAnchor: {fileID: 0}
+ m_LightProbeVolumeOverride: {fileID: 0}
+ m_ScaleInLightmap: 1
+ m_PreserveUVs: 1
+ m_IgnoreNormalsForChartDetection: 0
+ m_ImportantGI: 0
+ m_SelectedEditorRenderState: 3
+ m_MinimumChartSize: 4
+ m_AutoUVMaxDistance: 0.5
+ m_AutoUVMaxAngle: 89
+ m_LightmapParameters: {fileID: 0}
+ m_SortingLayerID: 0
+ m_SortingLayer: 0
+ m_SortingOrder: 0
+--- !u!33 &194024297
+MeshFilter:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 194024290}
+ m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0}
+--- !u!4 &194024298
+Transform:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 194024290}
+ m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
+ m_LocalPosition: {x: -2.95, y: -0.34, z: 0}
+ m_LocalScale: {x: 3.7462368, y: 1, z: 1}
+ m_Children: []
+ m_Father: {fileID: 0}
+ m_RootOrder: 8
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
+--- !u!1 &197551858
+GameObject:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ serializedVersion: 5
+ m_Component:
+ - component: {fileID: 197551860}
+ - component: {fileID: 197551859}
+ m_Layer: 0
+ m_Name: Directional light
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!108 &197551859
+Light:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 197551858}
+ m_Enabled: 1
+ serializedVersion: 8
+ m_Type: 1
+ m_Color: {r: 1, g: 1, b: 1, a: 1}
+ m_Intensity: 0.75
+ m_Range: 10
+ m_SpotAngle: 30
+ m_CookieSize: 10
+ m_Shadows:
+ m_Type: 0
+ m_Resolution: -1
+ m_CustomResolution: -1
+ m_Strength: 1
+ m_Bias: 0.05
+ m_NormalBias: 0.4
+ m_NearPlane: 0.2
+ m_Cookie: {fileID: 0}
+ m_DrawHalo: 0
+ m_Flare: {fileID: 0}
+ m_RenderMode: 0
+ m_CullingMask:
+ serializedVersion: 2
+ m_Bits: 4294967295
+ m_Lightmapping: 4
+ m_AreaSize: {x: 1, y: 1}
+ m_BounceIntensity: 1
+ m_ColorTemperature: 6570
+ m_UseColorTemperature: 0
+ m_ShadowRadius: 0
+ m_ShadowAngle: 0
+--- !u!4 &197551860
+Transform:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 197551858}
+ m_LocalRotation: {x: 0.40821788, y: -0.23456968, z: 0.10938163, w: 0.8754261}
+ m_LocalPosition: {x: 1.1131926, y: -1.4693112, z: 0}
+ m_LocalScale: {x: 1, y: 1, z: 1}
+ m_Children: []
+ m_Father: {fileID: 0}
+ m_RootOrder: 0
+ m_LocalEulerAnglesHint: {x: 50, y: -30, z: 0}
+--- !u!1 &269238033
+GameObject:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ serializedVersion: 5
+ m_Component:
+ - component: {fileID: 269238036}
+ - component: {fileID: 269238035}
+ - component: {fileID: 269238034}
+ - component: {fileID: 269238037}
+ - component: {fileID: 269238039}
+ - component: {fileID: 269238046}
+ - component: {fileID: 269238043}
+ - component: {fileID: 269238042}
+ - component: {fileID: 269238038}
+ - component: {fileID: 269238045}
+ - component: {fileID: 269238040}
+ - component: {fileID: 269238044}
+ - component: {fileID: 269238041}
+ m_Layer: 0
+ m_Name: Static Mushroom
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!60 &269238034
+PolygonCollider2D:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 269238033}
+ m_Enabled: 1
+ m_Density: 1
+ m_Material: {fileID: 6200000, guid: ee8f7489dfdc8f04ab459adf2cdf2051, type: 2}
+ m_IsTrigger: 0
+ m_UsedByEffector: 0
+ m_UsedByComposite: 0
+ m_Offset: {x: 0, y: 0}
+ m_SpriteTilingProperty:
+ border: {x: 0, y: 0, z: 0, w: 0}
+ pivot: {x: 0.5, y: 0.5}
+ oldSize: {x: 3, y: 3}
+ newSize: {x: 3, y: 3}
+ adaptiveTilingThreshold: 0.5
+ drawMode: 0
+ adaptiveTiling: 0
+ m_AutoTiling: 0
+ m_Points:
+ m_Paths:
+ - - {x: 0.65, y: -1.24}
+ - {x: 0.65, y: -1.11}
+ - {x: 0.64, y: -1.01}
+ - {x: 0.59, y: -0.84999996}
+ - {x: 0.53999996, y: -0.55}
+ - {x: 0.53, y: -0.35}
+ - {x: 0.65999997, y: -0.29}
+ - {x: 1.03, y: -0.26999998}
+ - {x: 1.17, y: -0.24}
+ - {x: 1.31, y: -0.16}
+ - {x: 1.39, y: -0.07}
+ - {x: 1.4399999, y: 0}
+ - {x: 1.4399999, y: 0.26999998}
+ - {x: 1.42, y: 0.35999998}
+ - {x: 1.39, y: 0.5}
+ - {x: 1.26, y: 0.76}
+ - {x: 1.17, y: 0.9}
+ - {x: 1, y: 1.1}
+ - {x: 0.85999995, y: 1.22}
+ - {x: 0.71, y: 1.3299999}
+ - {x: 0.47, y: 1.4399999}
+ - {x: 0.22, y: 1.5}
+ - {x: -0.32, y: 1.5}
+ - {x: -0.48, y: 1.4599999}
+ - {x: -0.62, y: 1.41}
+ - {x: -0.78999996, y: 1.3299999}
+ - {x: -0.98999995, y: 1.18}
+ - {x: -1.13, y: 1.03}
+ - {x: -1.2099999, y: 0.91999996}
+ - {x: -1.27, y: 0.82}
+ - {x: -1.38, y: 0.59999996}
+ - {x: -1.41, y: 0.47}
+ - {x: -1.43, y: 0.39}
+ - {x: -1.4599999, y: 0.21}
+ - {x: -1.4599999, y: 0.07}
+ - {x: -1.4499999, y: 0.01}
+ - {x: -1.43, y: -0.06}
+ - {x: -1.3399999, y: -0.17}
+ - {x: -1.2099999, y: -0.24}
+ - {x: -1.01, y: -0.29}
+ - {x: -0.7, y: -0.31}
+ - {x: -0.53, y: -0.34}
+ - {x: -0.58, y: -0.87}
+ - {x: -0.63, y: -1.04}
+ - {x: -0.65, y: -1.2099999}
+ - {x: -0.65, y: -1.27}
+ - {x: -0.53999996, y: -1.41}
+ - {x: -0.47, y: -1.4399999}
+ - {x: -0.34, y: -1.49}
+ - {x: -0.32, y: -1.5}
+ - {x: 0.37, y: -1.5}
+ - {x: 0.44, y: -1.49}
+ - {x: 0.53999996, y: -1.4399999}
+ - {x: 0.64, y: -1.3199999}
+--- !u!212 &269238035
+SpriteRenderer:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 269238033}
+ m_Enabled: 1
+ m_CastShadows: 0
+ m_ReceiveShadows: 0
+ m_MotionVectors: 1
+ m_LightProbeUsage: 1
+ m_ReflectionProbeUsage: 1
+ m_Materials:
+ - {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0}
+ m_StaticBatchInfo:
+ firstSubMesh: 0
+ subMeshCount: 0
+ m_StaticBatchRoot: {fileID: 0}
+ m_ProbeAnchor: {fileID: 0}
+ m_LightProbeVolumeOverride: {fileID: 0}
+ m_ScaleInLightmap: 1
+ m_PreserveUVs: 0
+ m_IgnoreNormalsForChartDetection: 0
+ m_ImportantGI: 0
+ m_SelectedEditorRenderState: 0
+ m_MinimumChartSize: 4
+ m_AutoUVMaxDistance: 0.5
+ m_AutoUVMaxAngle: 89
+ m_LightmapParameters: {fileID: 0}
+ m_SortingLayerID: 0
+ m_SortingLayer: 0
+ m_SortingOrder: 0
+ m_Sprite: {fileID: 21300000, guid: ea8f56c43254d41728f5ac4e8299b6c9, type: 3}
+ m_Color: {r: 1, g: 1, b: 1, a: 1}
+ m_FlipX: 0
+ m_FlipY: 0
+ m_DrawMode: 0
+ m_Size: {x: 3, y: 3}
+ m_AdaptiveModeThreshold: 0.5
+ m_SpriteTileMode: 0
+--- !u!4 &269238036
+Transform:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 269238033}
+ m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
+ m_LocalPosition: {x: -2.9, y: -3.14, z: 0}
+ m_LocalScale: {x: 1, y: 1, z: 1}
+ m_Children:
+ - {fileID: 403901857}
+ m_Father: {fileID: 0}
+ m_RootOrder: 3
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
+--- !u!114 &269238037
+MonoBehaviour:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 269238033}
+ 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: 400
+ zoom: 1
+ scrollViewRect:
+ serializedVersion: 2
+ x: 0
+ y: 0
+ width: 0
+ height: 0
+ selectedBlocks:
+ - {fileID: 269238039}
+ selectedCommands: []
+ variables:
+ - {fileID: 269238038}
+ description:
+ stepPause: 0
+ colorCommands: 1
+ hideComponents: 1
+ saveSelection: 1
+ localizationId:
+ showLineNumbers: 0
+ hideCommands: []
+ luaEnvironment: {fileID: 0}
+ luaBindingName: flowchart
+--- !u!114 &269238038
+MonoBehaviour:
+ m_ObjectHideFlags: 2
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 269238033}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: 5d02d9822eec54c98afe95bb497211b3, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ scope: 0
+ key: Running
+ value: 0
+--- !u!114 &269238039
+MonoBehaviour:
+ m_ObjectHideFlags: 2
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 269238033}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: 3d3d73aef2cfc4f51abf34ac00241f60, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ nodeRect:
+ serializedVersion: 2
+ x: 202
+ y: 207
+ width: 120
+ height: 40
+ tint: {r: 1, g: 1, b: 1, a: 1}
+ useCustomTint: 0
+ itemId: 0
+ blockName: New Block
+ description:
+ eventHandler: {fileID: 269238046}
+ commandList:
+ - {fileID: 269238045}
+ - {fileID: 269238044}
+ - {fileID: 269238043}
+ - {fileID: 269238042}
+ - {fileID: 269238041}
+ - {fileID: 269238040}
+--- !u!114 &269238040
+MonoBehaviour:
+ m_ObjectHideFlags: 2
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 269238033}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: 93cb9773f2ca04e2bbf7a68ccfc23267, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ itemId: 4
+ indentLevel: 0
+--- !u!114 &269238041
+MonoBehaviour:
+ m_ObjectHideFlags: 2
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 269238033}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: fb77d0ce495044f6e9feb91b31798e8c, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ itemId: 6
+ indentLevel: 1
+ variable: {fileID: 269238038}
+ setOperator: 0
+ booleanData:
+ booleanRef: {fileID: 0}
+ booleanVal: 0
+ integerData:
+ integerRef: {fileID: 0}
+ integerVal: 0
+ floatData:
+ floatRef: {fileID: 0}
+ floatVal: 0
+ stringData:
+ stringRef: {fileID: 0}
+ stringVal:
+--- !u!114 &269238042
+MonoBehaviour:
+ m_ObjectHideFlags: 2
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 269238033}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: accc065c3e9a6457496f075b1bd49adc, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ itemId: 2
+ indentLevel: 1
+ spriteRenderer: {fileID: 269238035}
+ _duration:
+ floatRef: {fileID: 0}
+ floatVal: 0.5
+ _targetColor:
+ colorRef: {fileID: 0}
+ colorVal: {r: 1, g: 1, b: 1, a: 1}
+ waitUntilFinished: 1
+ durationOLD: 0
+ targetColorOLD: {r: 0, g: 0, b: 0, a: 0}
+--- !u!114 &269238043
+MonoBehaviour:
+ m_ObjectHideFlags: 2
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 269238033}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: accc065c3e9a6457496f075b1bd49adc, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ itemId: 1
+ indentLevel: 1
+ spriteRenderer: {fileID: 269238035}
+ _duration:
+ floatRef: {fileID: 0}
+ floatVal: 0.5
+ _targetColor:
+ colorRef: {fileID: 0}
+ colorVal: {r: 1, g: 1, b: 1, a: 0.503}
+ waitUntilFinished: 1
+ durationOLD: 0
+ targetColorOLD: {r: 0, g: 0, b: 0, a: 0}
+--- !u!114 &269238044
+MonoBehaviour:
+ m_ObjectHideFlags: 2
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 269238033}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: fb77d0ce495044f6e9feb91b31798e8c, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ itemId: 5
+ indentLevel: 1
+ variable: {fileID: 269238038}
+ setOperator: 0
+ booleanData:
+ booleanRef: {fileID: 0}
+ booleanVal: 1
+ integerData:
+ integerRef: {fileID: 0}
+ integerVal: 0
+ floatData:
+ floatRef: {fileID: 0}
+ floatVal: 0
+ stringData:
+ stringRef: {fileID: 0}
+ stringVal:
+--- !u!114 &269238045
+MonoBehaviour:
+ m_ObjectHideFlags: 2
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 269238033}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: 70c5622b8a80845c980954170295f292, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ itemId: 3
+ indentLevel: 0
+ compareOperator: 0
+ variable: {fileID: 269238038}
+ booleanData:
+ booleanRef: {fileID: 0}
+ booleanVal: 0
+ integerData:
+ integerRef: {fileID: 0}
+ integerVal: 0
+ floatData:
+ floatRef: {fileID: 0}
+ floatVal: 0
+ stringData:
+ stringRef: {fileID: 0}
+ stringVal:
+--- !u!114 &269238046
+MonoBehaviour:
+ m_ObjectHideFlags: 2
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 269238033}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: dfcefb900be84c948bbe013dc8ffefb5, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ parentBlock: {fileID: 269238039}
+ FireOn: 64
+--- !u!1 &403901856
+GameObject:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ serializedVersion: 5
+ m_Component:
+ - component: {fileID: 403901857}
+ - component: {fileID: 403901859}
+ - component: {fileID: 403901858}
+ m_Layer: 0
+ m_Name: GameObject
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!4 &403901857
+Transform:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 403901856}
+ m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
+ m_LocalPosition: {x: 0, y: -0.63, z: -2}
+ m_LocalScale: {x: 0.1, y: 0.1, z: 0.1}
+ m_Children: []
+ m_Father: {fileID: 269238036}
+ m_RootOrder: 0
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
+--- !u!102 &403901858
+TextMesh:
+ serializedVersion: 3
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 403901856}
+ m_Text: Click Me
+ m_OffsetZ: 0
+ m_CharacterSize: 1
+ m_LineSpacing: 1
+ m_Anchor: 4
+ m_Alignment: 1
+ m_TabSize: 4
+ m_FontSize: 48
+ m_FontStyle: 0
+ m_RichText: 1
+ m_Font: {fileID: 0}
+ m_Color:
+ serializedVersion: 2
+ rgba: 4278225919
+--- !u!23 &403901859
+MeshRenderer:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 403901856}
+ m_Enabled: 1
+ m_CastShadows: 1
+ m_ReceiveShadows: 1
+ m_MotionVectors: 1
+ m_LightProbeUsage: 1
+ m_ReflectionProbeUsage: 1
+ m_Materials:
+ - {fileID: 10100, guid: 0000000000000000e000000000000000, type: 0}
+ m_StaticBatchInfo:
+ firstSubMesh: 0
+ subMeshCount: 0
+ m_StaticBatchRoot: {fileID: 0}
+ m_ProbeAnchor: {fileID: 0}
+ m_LightProbeVolumeOverride: {fileID: 0}
+ m_ScaleInLightmap: 1
+ m_PreserveUVs: 0
+ m_IgnoreNormalsForChartDetection: 0
+ m_ImportantGI: 0
+ m_SelectedEditorRenderState: 3
+ m_MinimumChartSize: 4
+ m_AutoUVMaxDistance: 0.5
+ m_AutoUVMaxAngle: 89
+ m_LightmapParameters: {fileID: 0}
+ m_SortingLayerID: 0
+ m_SortingLayer: 0
+ m_SortingOrder: 0
+--- !u!1 &442536152
+GameObject:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ serializedVersion: 5
+ m_Component:
+ - component: {fileID: 442536157}
+ - component: {fileID: 442536156}
+ - component: {fileID: 442536155}
+ - component: {fileID: 442536154}
+ - component: {fileID: 442536153}
+ - component: {fileID: 442536158}
+ - component: {fileID: 442536159}
+ - component: {fileID: 442536161}
+ - component: {fileID: 442536160}
+ m_Layer: 0
+ m_Name: Capsule
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!54 &442536153
+Rigidbody:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 442536152}
+ serializedVersion: 2
+ m_Mass: 1
+ m_Drag: 0
+ m_AngularDrag: 0.05
+ m_UseGravity: 1
+ m_IsKinematic: 0
+ m_Interpolate: 0
+ m_Constraints: 0
+ m_CollisionDetection: 0
+--- !u!23 &442536154
+MeshRenderer:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 442536152}
+ m_Enabled: 1
+ m_CastShadows: 1
+ m_ReceiveShadows: 1
+ m_MotionVectors: 1
+ m_LightProbeUsage: 1
+ m_ReflectionProbeUsage: 1
+ m_Materials:
+ - {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0}
+ m_StaticBatchInfo:
+ firstSubMesh: 0
+ subMeshCount: 0
+ m_StaticBatchRoot: {fileID: 0}
+ m_ProbeAnchor: {fileID: 0}
+ m_LightProbeVolumeOverride: {fileID: 0}
+ m_ScaleInLightmap: 1
+ m_PreserveUVs: 1
+ m_IgnoreNormalsForChartDetection: 0
+ m_ImportantGI: 0
+ m_SelectedEditorRenderState: 3
+ m_MinimumChartSize: 4
+ m_AutoUVMaxDistance: 0.5
+ m_AutoUVMaxAngle: 89
+ m_LightmapParameters: {fileID: 0}
+ m_SortingLayerID: 0
+ m_SortingLayer: 0
+ m_SortingOrder: 0
+--- !u!136 &442536155
+CapsuleCollider:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 442536152}
+ m_Material: {fileID: 13400000, guid: 2150f8a2365e2df43be3dbad67a48487, type: 2}
+ m_IsTrigger: 0
+ m_Enabled: 1
+ m_Radius: 0.5
+ m_Height: 2
+ m_Direction: 1
+ m_Center: {x: 0, y: 0, z: 0}
+--- !u!33 &442536156
+MeshFilter:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 442536152}
+ m_Mesh: {fileID: 10208, guid: 0000000000000000e000000000000000, type: 0}
+--- !u!4 &442536157
+Transform:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 442536152}
+ m_LocalRotation: {x: -0, y: -0, z: 0.15313907, w: -0.98820466}
+ m_LocalPosition: {x: 3.7, y: 3.38, z: 0}
+ m_LocalScale: {x: 1, y: 1, z: 1}
+ m_Children: []
+ m_Father: {fileID: 0}
+ m_RootOrder: 5
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: -17.618}
+--- !u!114 &442536158
+MonoBehaviour:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 442536152}
+ 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: 400
+ zoom: 1
+ scrollViewRect:
+ serializedVersion: 2
+ x: 0
+ y: 0
+ width: 0
+ height: 0
+ selectedBlocks: []
+ selectedCommands: []
+ variables: []
+ description:
+ stepPause: 0
+ colorCommands: 1
+ hideComponents: 1
+ saveSelection: 1
+ localizationId:
+ showLineNumbers: 0
+ hideCommands: []
+ luaEnvironment: {fileID: 0}
+ luaBindingName: flowchart
+--- !u!114 &442536159
+MonoBehaviour:
+ m_ObjectHideFlags: 2
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 442536152}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: 3d3d73aef2cfc4f51abf34ac00241f60, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ nodeRect:
+ serializedVersion: 2
+ x: 243
+ y: 149
+ width: 120
+ height: 40
+ tint: {r: 1, g: 1, b: 1, a: 1}
+ useCustomTint: 0
+ itemId: 0
+ blockName: New Block
+ description:
+ eventHandler: {fileID: 442536161}
+ commandList:
+ - {fileID: 442536160}
+--- !u!114 &442536160
+MonoBehaviour:
+ m_ObjectHideFlags: 2
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 442536152}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: bd2f6be51b3d7490ba5633ee095d0391, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ itemId: 1
+ indentLevel: 0
+ soundClip: {fileID: 8300000, guid: c05250d33e43ca04788384771b988143, type: 3}
+ volume: 1
+ waitUntilFinished: 0
+--- !u!114 &442536161
+MonoBehaviour:
+ m_ObjectHideFlags: 2
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 442536152}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: d3b4d2ce0fcd12448ab6b4492be6ca77, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ parentBlock: {fileID: 442536159}
+ tagFilter: []
+ FireOn: 1
+--- !u!1 &966535091
+GameObject:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ serializedVersion: 5
+ m_Component:
+ - component: {fileID: 966535096}
+ - component: {fileID: 966535095}
+ - component: {fileID: 966535094}
+ - component: {fileID: 966535093}
+ - component: {fileID: 966535092}
+ 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 &966535092
+AudioListener:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 966535091}
+ m_Enabled: 1
+--- !u!124 &966535093
+Behaviour:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 966535091}
+ m_Enabled: 1
+--- !u!92 &966535094
+Behaviour:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 966535091}
+ m_Enabled: 1
+--- !u!20 &966535095
+Camera:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 966535091}
+ m_Enabled: 1
+ serializedVersion: 2
+ m_ClearFlags: 1
+ m_BackGroundColor: {r: 0.19215687, g: 0.3019608, b: 0.4745098, a: 0}
+ 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_ForceIntoRT: 0
+ m_OcclusionCulling: 1
+ m_StereoConvergence: 10
+ m_StereoSeparation: 0.022
+ m_StereoMirrorMode: 0
+--- !u!4 &966535096
+Transform:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 966535091}
+ 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: 1
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
+--- !u!1 &1011373762
+GameObject:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ serializedVersion: 5
+ m_Component:
+ - component: {fileID: 1011373766}
+ - component: {fileID: 1011373765}
+ - component: {fileID: 1011373764}
+ - component: {fileID: 1011373763}
+ - component: {fileID: 1011373768}
+ - component: {fileID: 1011373770}
+ - component: {fileID: 1011373767}
+ - component: {fileID: 1011373769}
+ m_Layer: 0
+ m_Name: Dynamic Mushroom
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!50 &1011373763
+Rigidbody2D:
+ serializedVersion: 4
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 1011373762}
+ m_BodyType: 0
+ m_Simulated: 1
+ m_UseFullKinematicContacts: 0
+ m_UseAutoMass: 0
+ m_Mass: 1
+ m_LinearDrag: 0
+ m_AngularDrag: 0.05
+ m_GravityScale: 1
+ m_Material: {fileID: 0}
+ m_Interpolate: 0
+ m_SleepingMode: 1
+ m_CollisionDetection: 0
+ m_Constraints: 0
+--- !u!60 &1011373764
+PolygonCollider2D:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 1011373762}
+ m_Enabled: 1
+ m_Density: 1
+ m_Material: {fileID: 6200000, guid: ee8f7489dfdc8f04ab459adf2cdf2051, type: 2}
+ m_IsTrigger: 0
+ m_UsedByEffector: 0
+ m_UsedByComposite: 0
+ m_Offset: {x: 0, y: 0}
+ m_SpriteTilingProperty:
+ border: {x: 0, y: 0, z: 0, w: 0}
+ pivot: {x: 0.5, y: 0.5}
+ oldSize: {x: 3, y: 3}
+ newSize: {x: 3, y: 3}
+ adaptiveTilingThreshold: 0.5
+ drawMode: 0
+ adaptiveTiling: 0
+ m_AutoTiling: 0
+ m_Points:
+ m_Paths:
+ - - {x: 0.65, y: -1.24}
+ - {x: 0.65, y: -1.11}
+ - {x: 0.64, y: -1.01}
+ - {x: 0.59, y: -0.84999996}
+ - {x: 0.53999996, y: -0.55}
+ - {x: 0.53, y: -0.35}
+ - {x: 0.65999997, y: -0.29}
+ - {x: 1.03, y: -0.26999998}
+ - {x: 1.17, y: -0.24}
+ - {x: 1.31, y: -0.16}
+ - {x: 1.39, y: -0.07}
+ - {x: 1.4399999, y: 0}
+ - {x: 1.4399999, y: 0.26999998}
+ - {x: 1.42, y: 0.35999998}
+ - {x: 1.39, y: 0.5}
+ - {x: 1.26, y: 0.76}
+ - {x: 1.17, y: 0.9}
+ - {x: 1, y: 1.1}
+ - {x: 0.85999995, y: 1.22}
+ - {x: 0.71, y: 1.3299999}
+ - {x: 0.47, y: 1.4399999}
+ - {x: 0.22, y: 1.5}
+ - {x: -0.32, y: 1.5}
+ - {x: -0.48, y: 1.4599999}
+ - {x: -0.62, y: 1.41}
+ - {x: -0.78999996, y: 1.3299999}
+ - {x: -0.98999995, y: 1.18}
+ - {x: -1.13, y: 1.03}
+ - {x: -1.2099999, y: 0.91999996}
+ - {x: -1.27, y: 0.82}
+ - {x: -1.38, y: 0.59999996}
+ - {x: -1.41, y: 0.47}
+ - {x: -1.43, y: 0.39}
+ - {x: -1.4599999, y: 0.21}
+ - {x: -1.4599999, y: 0.07}
+ - {x: -1.4499999, y: 0.01}
+ - {x: -1.43, y: -0.06}
+ - {x: -1.3399999, y: -0.17}
+ - {x: -1.2099999, y: -0.24}
+ - {x: -1.01, y: -0.29}
+ - {x: -0.7, y: -0.31}
+ - {x: -0.53, y: -0.34}
+ - {x: -0.58, y: -0.87}
+ - {x: -0.63, y: -1.04}
+ - {x: -0.65, y: -1.2099999}
+ - {x: -0.65, y: -1.27}
+ - {x: -0.53999996, y: -1.41}
+ - {x: -0.47, y: -1.4399999}
+ - {x: -0.34, y: -1.49}
+ - {x: -0.32, y: -1.5}
+ - {x: 0.37, y: -1.5}
+ - {x: 0.44, y: -1.49}
+ - {x: 0.53999996, y: -1.4399999}
+ - {x: 0.64, y: -1.3199999}
+--- !u!212 &1011373765
+SpriteRenderer:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 1011373762}
+ m_Enabled: 1
+ m_CastShadows: 0
+ m_ReceiveShadows: 0
+ m_MotionVectors: 1
+ m_LightProbeUsage: 1
+ m_ReflectionProbeUsage: 1
+ m_Materials:
+ - {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0}
+ m_StaticBatchInfo:
+ firstSubMesh: 0
+ subMeshCount: 0
+ m_StaticBatchRoot: {fileID: 0}
+ m_ProbeAnchor: {fileID: 0}
+ m_LightProbeVolumeOverride: {fileID: 0}
+ m_ScaleInLightmap: 1
+ m_PreserveUVs: 0
+ m_IgnoreNormalsForChartDetection: 0
+ m_ImportantGI: 0
+ m_SelectedEditorRenderState: 0
+ m_MinimumChartSize: 4
+ m_AutoUVMaxDistance: 0.5
+ m_AutoUVMaxAngle: 89
+ m_LightmapParameters: {fileID: 0}
+ m_SortingLayerID: 0
+ m_SortingLayer: 0
+ m_SortingOrder: 0
+ m_Sprite: {fileID: 21300000, guid: ea8f56c43254d41728f5ac4e8299b6c9, type: 3}
+ m_Color: {r: 1, g: 1, b: 1, a: 1}
+ m_FlipX: 0
+ m_FlipY: 0
+ m_DrawMode: 0
+ m_Size: {x: 3, y: 3}
+ m_AdaptiveModeThreshold: 0.5
+ m_SpriteTileMode: 0
+--- !u!4 &1011373766
+Transform:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 1011373762}
+ m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
+ m_LocalPosition: {x: -2.9, y: 2.9, 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 &1011373767
+MonoBehaviour:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 1011373762}
+ 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: 400
+ zoom: 1
+ scrollViewRect:
+ serializedVersion: 2
+ x: 0
+ y: 0
+ width: 0
+ height: 0
+ selectedBlocks: []
+ selectedCommands: []
+ variables: []
+ description:
+ stepPause: 0
+ colorCommands: 1
+ hideComponents: 1
+ saveSelection: 1
+ localizationId:
+ showLineNumbers: 0
+ hideCommands: []
+ luaEnvironment: {fileID: 0}
+ luaBindingName: flowchart
+--- !u!114 &1011373768
+MonoBehaviour:
+ m_ObjectHideFlags: 2
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 1011373762}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: 3d3d73aef2cfc4f51abf34ac00241f60, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ nodeRect:
+ serializedVersion: 2
+ x: 175
+ y: 153
+ width: 120
+ height: 40
+ tint: {r: 1, g: 1, b: 1, a: 1}
+ useCustomTint: 0
+ itemId: 0
+ blockName: New Block
+ description:
+ eventHandler: {fileID: 1011373769}
+ commandList:
+ - {fileID: 1011373770}
+--- !u!114 &1011373769
+MonoBehaviour:
+ m_ObjectHideFlags: 2
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 1011373762}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: c23faba06619da442a984c0c71a87df4, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ parentBlock: {fileID: 1011373768}
+ tagFilter: []
+ FireOn: 1
+--- !u!114 &1011373770
+MonoBehaviour:
+ m_ObjectHideFlags: 2
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 1011373762}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: bd2f6be51b3d7490ba5633ee095d0391, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ itemId: 1
+ indentLevel: 0
+ soundClip: {fileID: 8300000, guid: c05250d33e43ca04788384771b988143, type: 3}
+ volume: 1
+ waitUntilFinished: 0
+--- !u!1 &1160757213
+GameObject:
+ m_ObjectHideFlags: 1
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ serializedVersion: 5
+ m_Component:
+ - component: {fileID: 1160757215}
+ - component: {fileID: 1160757214}
+ m_Layer: 0
+ m_Name: _FungusState
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!114 &1160757214
+MonoBehaviour:
+ m_ObjectHideFlags: 1
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 1160757213}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: 61dddfdc5e0e44ca298d8f46f7f5a915, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ selectedFlowchart: {fileID: 1289891683}
+--- !u!4 &1160757215
+Transform:
+ m_ObjectHideFlags: 1
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 1160757213}
+ 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: 6
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
+--- !u!1 &1289891678
+GameObject:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ serializedVersion: 5
+ m_Component:
+ - component: {fileID: 1289891686}
+ - component: {fileID: 1289891685}
+ - component: {fileID: 1289891684}
+ - component: {fileID: 1289891683}
+ - component: {fileID: 1289891682}
+ - component: {fileID: 1289891681}
+ - component: {fileID: 1289891679}
+ - component: {fileID: 1289891680}
+ m_Layer: 0
+ m_Name: TriggerExitTurnOff
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!65 &1289891679
+BoxCollider:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 1289891678}
+ m_Material: {fileID: 0}
+ m_IsTrigger: 1
+ m_Enabled: 1
+ serializedVersion: 2
+ m_Size: {x: 1, y: 1, z: 1}
+ m_Center: {x: 0, y: 0, z: 0}
+--- !u!114 &1289891680
+MonoBehaviour:
+ m_ObjectHideFlags: 2
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 1289891678}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: a98f5f89242e80d42865cdf1912beda3, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ parentBlock: {fileID: 1289891682}
+ tagFilter: []
+ FireOn: 4
+--- !u!114 &1289891681
+MonoBehaviour:
+ m_ObjectHideFlags: 2
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 1289891678}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: dbd8c931f22994b9d90e2037fffaa770, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ itemId: 1
+ indentLevel: 0
+ _targetGameObject:
+ gameObjectRef: {fileID: 0}
+ gameObjectVal: {fileID: 1289891678}
+ activeState:
+ booleanRef: {fileID: 0}
+ booleanVal: 0
+ targetGameObjectOLD: {fileID: 0}
+--- !u!114 &1289891682
+MonoBehaviour:
+ m_ObjectHideFlags: 2
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 1289891678}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 11500000, guid: 3d3d73aef2cfc4f51abf34ac00241f60, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ nodeRect:
+ serializedVersion: 2
+ x: 216
+ y: 216
+ width: 120
+ height: 40
+ tint: {r: 1, g: 1, b: 1, a: 1}
+ useCustomTint: 0
+ itemId: 0
+ blockName: New Block
+ description:
+ eventHandler: {fileID: 1289891680}
+ commandList:
+ - {fileID: 1289891681}
+--- !u!114 &1289891683
+MonoBehaviour:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 1289891678}
+ 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: 400
+ zoom: 1
+ scrollViewRect:
+ serializedVersion: 2
+ x: 0
+ y: 0
+ width: 0
+ height: 0
+ selectedBlocks: []
+ selectedCommands: []
+ variables: []
+ description:
+ stepPause: 0
+ colorCommands: 1
+ hideComponents: 1
+ saveSelection: 1
+ localizationId:
+ showLineNumbers: 0
+ hideCommands: []
+ luaEnvironment: {fileID: 0}
+ luaBindingName: flowchart
+--- !u!23 &1289891684
+MeshRenderer:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 1289891678}
+ m_Enabled: 1
+ m_CastShadows: 1
+ m_ReceiveShadows: 1
+ m_MotionVectors: 1
+ m_LightProbeUsage: 1
+ m_ReflectionProbeUsage: 1
+ m_Materials:
+ - {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0}
+ m_StaticBatchInfo:
+ firstSubMesh: 0
+ subMeshCount: 0
+ m_StaticBatchRoot: {fileID: 0}
+ m_ProbeAnchor: {fileID: 0}
+ m_LightProbeVolumeOverride: {fileID: 0}
+ m_ScaleInLightmap: 1
+ m_PreserveUVs: 1
+ m_IgnoreNormalsForChartDetection: 0
+ m_ImportantGI: 0
+ m_SelectedEditorRenderState: 3
+ m_MinimumChartSize: 4
+ m_AutoUVMaxDistance: 0.5
+ m_AutoUVMaxAngle: 89
+ m_LightmapParameters: {fileID: 0}
+ m_SortingLayerID: 0
+ m_SortingLayer: 0
+ m_SortingOrder: 0
+--- !u!33 &1289891685
+MeshFilter:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 1289891678}
+ m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0}
+--- !u!4 &1289891686
+Transform:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 1289891678}
+ m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
+ m_LocalPosition: {x: 3.65, y: -1.29, z: 0}
+ m_LocalScale: {x: 3.7462368, y: 1, z: 1}
+ m_Children: []
+ m_Father: {fileID: 0}
+ m_RootOrder: 9
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
+--- !u!1 &1591510153
+GameObject:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ serializedVersion: 5
+ m_Component:
+ - component: {fileID: 1591510157}
+ - component: {fileID: 1591510156}
+ - component: {fileID: 1591510155}
+ - component: {fileID: 1591510154}
+ m_Layer: 0
+ m_Name: EventSystem
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!114 &1591510154
+MonoBehaviour:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 1591510153}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 1997211142, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ m_ForceModuleActive: 0
+--- !u!114 &1591510155
+MonoBehaviour:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 1591510153}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: 1077351063, guid: f5f67c52d1564df4a8936ccd202a3bd8, 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 &1591510156
+MonoBehaviour:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 1591510153}
+ m_Enabled: 1
+ m_EditorHideFlags: 0
+ m_Script: {fileID: -619905303, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
+ m_Name:
+ m_EditorClassIdentifier:
+ m_FirstSelected: {fileID: 0}
+ m_sendNavigationEvents: 1
+ m_DragThreshold: 5
+--- !u!4 &1591510157
+Transform:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 1591510153}
+ 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: 7
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
+--- !u!1 &1932427283
+GameObject:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ serializedVersion: 5
+ m_Component:
+ - component: {fileID: 1932427287}
+ - component: {fileID: 1932427286}
+ - component: {fileID: 1932427285}
+ - component: {fileID: 1932427284}
+ m_Layer: 0
+ m_Name: Cube
+ m_TagString: Untagged
+ m_Icon: {fileID: 0}
+ m_NavMeshLayer: 0
+ m_StaticEditorFlags: 0
+ m_IsActive: 1
+--- !u!23 &1932427284
+MeshRenderer:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 1932427283}
+ m_Enabled: 1
+ m_CastShadows: 1
+ m_ReceiveShadows: 1
+ m_MotionVectors: 1
+ m_LightProbeUsage: 1
+ m_ReflectionProbeUsage: 1
+ m_Materials:
+ - {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0}
+ m_StaticBatchInfo:
+ firstSubMesh: 0
+ subMeshCount: 0
+ m_StaticBatchRoot: {fileID: 0}
+ m_ProbeAnchor: {fileID: 0}
+ m_LightProbeVolumeOverride: {fileID: 0}
+ m_ScaleInLightmap: 1
+ m_PreserveUVs: 1
+ m_IgnoreNormalsForChartDetection: 0
+ m_ImportantGI: 0
+ m_SelectedEditorRenderState: 3
+ m_MinimumChartSize: 4
+ m_AutoUVMaxDistance: 0.5
+ m_AutoUVMaxAngle: 89
+ m_LightmapParameters: {fileID: 0}
+ m_SortingLayerID: 0
+ m_SortingLayer: 0
+ m_SortingOrder: 0
+--- !u!65 &1932427285
+BoxCollider:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 1932427283}
+ m_Material: {fileID: 13400000, guid: 2150f8a2365e2df43be3dbad67a48487, type: 2}
+ m_IsTrigger: 0
+ m_Enabled: 1
+ serializedVersion: 2
+ m_Size: {x: 1, y: 1, z: 1}
+ m_Center: {x: 0, y: 0, z: 0}
+--- !u!33 &1932427286
+MeshFilter:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 1932427283}
+ m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0}
+--- !u!4 &1932427287
+Transform:
+ m_ObjectHideFlags: 0
+ m_PrefabParentObject: {fileID: 0}
+ m_PrefabInternal: {fileID: 0}
+ m_GameObject: {fileID: 1932427283}
+ m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
+ m_LocalPosition: {x: 3.55, y: -3.5, z: 0}
+ m_LocalScale: {x: 2.4312458, y: 1, z: 1}
+ m_Children: []
+ m_Father: {fileID: 0}
+ m_RootOrder: 4
+ m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
diff --git a/Assets/FungusExamples/MonoBehEvents/PhysicsInteraction.unity.meta b/Assets/FungusExamples/MonoBehEvents/PhysicsInteraction.unity.meta
new file mode 100644
index 00000000..24a8f5b0
--- /dev/null
+++ b/Assets/FungusExamples/MonoBehEvents/PhysicsInteraction.unity.meta
@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: 93d0684591bc1c14dbad2b7dd9f454bb
+timeCreated: 1500106840
+licenseType: Free
+DefaultImporter:
+ userData:
+ assetBundleName:
+ assetBundleVariant: