From cc56a1cd5f2f82ee94c51172f1b2f4b115e2c330 Mon Sep 17 00:00:00 2001 From: desktop-maesty/steve Date: Sun, 8 Oct 2017 21:22:08 +1000 Subject: [PATCH] Renamed folders within PlaygroundDemo Fixed missing components in PlaygroundDemo scenes and prefabs Formatting fixed for added scripts Added HasReference override to all commands --- Assets/Fungus/Scripts/Commands/Destroy.cs | 8 ++ .../Fungus/Scripts/Commands/Input/GetAxis.cs | 14 ++- .../Commands/Rigidbody2D/AddForce2D.cs | 9 ++ .../Commands/Rigidbody2D/AddTorque2D.cs | 9 +- .../Rigidbody2D/StopMotionRigidBody2D.cs | 10 +- Assets/Fungus/Scripts/Commands/SpawnObject.cs | 10 ++ .../Commands/Transform/TransformProperty.cs | 16 ++- .../Commands/Vector3/Vector3Arithmetic.cs | 10 +- .../Scripts/Commands/Vector3/Vector3Fields.cs | 11 +- .../Commands/Vector3/Vector3Normalise.cs | 7 ++ .../Commands/Vector3/Vector3ToVector2.cs | 12 +- Assets/FungusExamples/Playground/Lander.unity | 2 +- .../Playground/Prefabs/Cannon.prefab | 106 ++++++------------ .../Playground/Prefabs/Enemy.prefab | 12 +- .../Playground/Prefabs/Laser.prefab | 32 +++--- .../Playground/Prefabs/LeftGoal.prefab | 14 +-- .../Playground/Prefabs/P1.prefab | 42 +++---- .../Playground/Prefabs/Spawner.prefab | 63 ++++------- 18 files changed, 210 insertions(+), 177 deletions(-) diff --git a/Assets/Fungus/Scripts/Commands/Destroy.cs b/Assets/Fungus/Scripts/Commands/Destroy.cs index f380c9db..8288d4b3 100644 --- a/Assets/Fungus/Scripts/Commands/Destroy.cs +++ b/Assets/Fungus/Scripts/Commands/Destroy.cs @@ -53,6 +53,14 @@ namespace Fungus return new Color32(235, 191, 217, 255); } + public override bool HasReference(Variable variable) + { + if (_targetGameObject.gameObjectRef == variable || destroyInXSeconds.floatRef == variable) + return true; + + return false; + } + #endregion #region Backwards compatibility diff --git a/Assets/Fungus/Scripts/Commands/Input/GetAxis.cs b/Assets/Fungus/Scripts/Commands/Input/GetAxis.cs index 652763e4..644ecbb2 100644 --- a/Assets/Fungus/Scripts/Commands/Input/GetAxis.cs +++ b/Assets/Fungus/Scripts/Commands/Input/GetAxis.cs @@ -15,7 +15,7 @@ namespace Fungus { [SerializeField] protected StringData axisName; - + [Tooltip("If true, calls GetAxisRaw instead of GetAxis")] [SerializeField] protected bool axisRaw = false; @@ -26,7 +26,7 @@ namespace Fungus public override void OnEnter() { - if(axisRaw) + if (axisRaw) { outValue.Value = Input.GetAxisRaw(axisName.Value); } @@ -34,7 +34,7 @@ namespace Fungus { outValue.Value = Input.GetAxis(axisName.Value); } - + Continue(); } @@ -48,5 +48,13 @@ namespace Fungus return new Color32(235, 191, 217, 255); } + public override bool HasReference(Variable variable) + { + if (axisName.stringRef == variable || outValue.floatRef == variable) + return true; + + return false; + } + } } \ No newline at end of file diff --git a/Assets/Fungus/Scripts/Commands/Rigidbody2D/AddForce2D.cs b/Assets/Fungus/Scripts/Commands/Rigidbody2D/AddForce2D.cs index 345d5985..bedb42a4 100644 --- a/Assets/Fungus/Scripts/Commands/Rigidbody2D/AddForce2D.cs +++ b/Assets/Fungus/Scripts/Commands/Rigidbody2D/AddForce2D.cs @@ -72,5 +72,14 @@ namespace Fungus return new Color32(235, 191, 217, 255); } + public override bool HasReference(Variable variable) + { + if (rb.rigidbody2DRef == variable || force.vector2Ref == variable || forceScaleFactor.floatRef == variable || + atPosition.vector2Ref == variable) + return true; + + return false; + } + } } \ No newline at end of file diff --git a/Assets/Fungus/Scripts/Commands/Rigidbody2D/AddTorque2D.cs b/Assets/Fungus/Scripts/Commands/Rigidbody2D/AddTorque2D.cs index e84b3441..59c2b3a3 100644 --- a/Assets/Fungus/Scripts/Commands/Rigidbody2D/AddTorque2D.cs +++ b/Assets/Fungus/Scripts/Commands/Rigidbody2D/AddTorque2D.cs @@ -32,7 +32,7 @@ namespace Fungus public override string GetSummary() { - if(rb.Value == null) + if (rb.Value == null) { return "Error: rb not set"; } @@ -44,6 +44,13 @@ namespace Fungus { return new Color32(235, 191, 217, 255); } + + public override bool HasReference(Variable variable) + { + if (rb.rigidbody2DRef == variable || force.floatRef == variable) + return true; + return false; + } } } \ No newline at end of file diff --git a/Assets/Fungus/Scripts/Commands/Rigidbody2D/StopMotionRigidBody2D.cs b/Assets/Fungus/Scripts/Commands/Rigidbody2D/StopMotionRigidBody2D.cs index aafe1c8d..ef4c0e31 100644 --- a/Assets/Fungus/Scripts/Commands/Rigidbody2D/StopMotionRigidBody2D.cs +++ b/Assets/Fungus/Scripts/Commands/Rigidbody2D/StopMotionRigidBody2D.cs @@ -15,7 +15,7 @@ namespace Fungus { [SerializeField] protected Rigidbody2DData rb; - + public enum Motion { Velocity, @@ -57,5 +57,13 @@ namespace Fungus return new Color32(235, 191, 217, 255); } + public override bool HasReference(Variable variable) + { + if (rb.rigidbody2DRef == variable) + return true; + + return false; + } + } } \ No newline at end of file diff --git a/Assets/Fungus/Scripts/Commands/SpawnObject.cs b/Assets/Fungus/Scripts/Commands/SpawnObject.cs index 0cd17fbc..34954d52 100644 --- a/Assets/Fungus/Scripts/Commands/SpawnObject.cs +++ b/Assets/Fungus/Scripts/Commands/SpawnObject.cs @@ -92,6 +92,16 @@ namespace Fungus return new Color32(235, 191, 217, 255); } + public override bool HasReference(Variable variable) + { + if (_sourceObject.gameObjectRef == variable || _parentTransform.transformRef == variable || + _spawnAtSelf.booleanRef == variable || _spawnPosition.vector3Ref == variable || + _spawnRotation.vector3Ref == variable) + return true; + + return false; + } + #endregion #region Backwards compatibility diff --git a/Assets/Fungus/Scripts/Commands/Transform/TransformProperty.cs b/Assets/Fungus/Scripts/Commands/Transform/TransformProperty.cs index 31fe8cab..32c2850c 100644 --- a/Assets/Fungus/Scripts/Commands/Transform/TransformProperty.cs +++ b/Assets/Fungus/Scripts/Commands/Transform/TransformProperty.cs @@ -48,7 +48,7 @@ namespace Fungus [SerializeField] protected TransformData transformData; - + [SerializeField] [VariableProperty(typeof(BooleanVariable), typeof(IntegerVariable), @@ -174,13 +174,13 @@ namespace Fungus default: break; } - + Continue(); } public override string GetSummary() { - if(transformData.Value == null) + if (transformData.Value == null) { return "Error: no transform set"; } @@ -190,7 +190,7 @@ namespace Fungus var iov = inOutVar as Vector3Variable; var iot = inOutVar as TransformVariable; - if(iob == null && ioi == null && iov == null && iot == null) + if (iob == null && ioi == null && iov == null && iot == null) { return "Error: no variable set to push or pull data to or from"; } @@ -205,5 +205,13 @@ namespace Fungus return new Color32(235, 191, 217, 255); } + public override bool HasReference(Variable variable) + { + if (transformData.transformRef == variable || inOutVar == variable) + return true; + + return false; + } + } } \ No newline at end of file diff --git a/Assets/Fungus/Scripts/Commands/Vector3/Vector3Arithmetic.cs b/Assets/Fungus/Scripts/Commands/Vector3/Vector3Arithmetic.cs index 0ed0bd28..fe53a530 100644 --- a/Assets/Fungus/Scripts/Commands/Vector3/Vector3Arithmetic.cs +++ b/Assets/Fungus/Scripts/Commands/Vector3/Vector3Arithmetic.cs @@ -58,7 +58,7 @@ namespace Fungus public override string GetSummary() { - if(output.vector3Ref == null) + if (output.vector3Ref == null) { return "Error: no output set"; } @@ -70,5 +70,13 @@ namespace Fungus { return new Color32(235, 191, 217, 255); } + + public override bool HasReference(Variable variable) + { + if (lhs.vector3Ref == variable || rhs.vector3Ref == variable || output.vector3Ref == variable) + return true; + + return false; + } } } \ No newline at end of file diff --git a/Assets/Fungus/Scripts/Commands/Vector3/Vector3Fields.cs b/Assets/Fungus/Scripts/Commands/Vector3/Vector3Fields.cs index 427ae24f..baafe67f 100644 --- a/Assets/Fungus/Scripts/Commands/Vector3/Vector3Fields.cs +++ b/Assets/Fungus/Scripts/Commands/Vector3/Vector3Fields.cs @@ -22,7 +22,7 @@ namespace Fungus [SerializeField] protected Vector3Data vec3; - + [SerializeField] protected FloatData x, y, z; @@ -50,7 +50,7 @@ namespace Fungus public override string GetSummary() { - if(vec3.vector3Ref == null) + if (vec3.vector3Ref == null) { return "Error: vec3 not set"; } @@ -63,5 +63,12 @@ namespace Fungus return new Color32(235, 191, 217, 255); } + public override bool HasReference(Variable variable) + { + if (vec3.vector3Ref == variable || x.floatRef == variable || y.floatRef == variable || z.floatRef == variable) + return true; + + return false; + } } } \ No newline at end of file diff --git a/Assets/Fungus/Scripts/Commands/Vector3/Vector3Normalise.cs b/Assets/Fungus/Scripts/Commands/Vector3/Vector3Normalise.cs index a02164b4..f4323e49 100644 --- a/Assets/Fungus/Scripts/Commands/Vector3/Vector3Normalise.cs +++ b/Assets/Fungus/Scripts/Commands/Vector3/Vector3Normalise.cs @@ -36,5 +36,12 @@ namespace Fungus return new Color32(235, 191, 217, 255); } + public override bool HasReference(Variable variable) + { + if (vec3In.vector3Ref == variable || vec3Out.vector3Ref == variable) + return true; + + return false; + } } } \ No newline at end of file diff --git a/Assets/Fungus/Scripts/Commands/Vector3/Vector3ToVector2.cs b/Assets/Fungus/Scripts/Commands/Vector3/Vector3ToVector2.cs index d7709ca9..9f08b761 100644 --- a/Assets/Fungus/Scripts/Commands/Vector3/Vector3ToVector2.cs +++ b/Assets/Fungus/Scripts/Commands/Vector3/Vector3ToVector2.cs @@ -29,8 +29,10 @@ namespace Fungus public override string GetSummary() { - if(vec3.vector3Ref != null && vec2.vector2Ref != null) + if (vec3.vector3Ref != null && vec2.vector2Ref != null) + { return "Converting " + vec3.vector3Ref.Key + " to " + vec2.vector2Ref.Key; + } return "Error: variables not set"; } @@ -40,5 +42,13 @@ namespace Fungus return new Color32(235, 191, 217, 255); } + + public override bool HasReference(Variable variable) + { + if (variable == vec3.vector3Ref || variable == vec2.vector2Ref) + return true; + + return false; + } } } \ No newline at end of file diff --git a/Assets/FungusExamples/Playground/Lander.unity b/Assets/FungusExamples/Playground/Lander.unity index cbc4213a..c729ea04 100644 --- a/Assets/FungusExamples/Playground/Lander.unity +++ b/Assets/FungusExamples/Playground/Lander.unity @@ -2021,7 +2021,7 @@ MonoBehaviour: scrollPos: {x: 146, y: -26.5} variablesScrollPos: {x: 0, y: 0} variablesExpanded: 1 - blockViewHeight: 324 + blockViewHeight: 401 zoom: 1 scrollViewRect: serializedVersion: 2 diff --git a/Assets/FungusExamples/Playground/Prefabs/Cannon.prefab b/Assets/FungusExamples/Playground/Prefabs/Cannon.prefab index 8e077ab9..e74f2f67 100644 --- a/Assets/FungusExamples/Playground/Prefabs/Cannon.prefab +++ b/Assets/FungusExamples/Playground/Prefabs/Cannon.prefab @@ -45,8 +45,6 @@ GameObject: - component: {fileID: 114873397630457622} - component: {fileID: 114099386588132780} - component: {fileID: 114238188189624062} - - component: {fileID: 114797075761082608} - - component: {fileID: 114611752584720384} m_Layer: 0 m_Name: Cannon m_TagString: Untagged @@ -72,7 +70,7 @@ GameObject: m_IsActive: 1 --- !u!4 &4038790522185248 Transform: - m_ObjectHideFlags: 1 + m_ObjectHideFlags: 0 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 100100000} m_GameObject: {fileID: 1380797001910276} @@ -100,7 +98,7 @@ Transform: --- !u!50 &50078523555390844 Rigidbody2D: serializedVersion: 4 - m_ObjectHideFlags: 1 + m_ObjectHideFlags: 0 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 100100000} m_GameObject: {fileID: 1380797001910276} @@ -119,7 +117,7 @@ Rigidbody2D: m_Constraints: 3 --- !u!114 &114036837631678186 MonoBehaviour: - m_ObjectHideFlags: 1 + m_ObjectHideFlags: 2 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 100100000} m_GameObject: {fileID: 1380797001910276} @@ -133,7 +131,7 @@ MonoBehaviour: keyCode: 32 --- !u!114 &114093757454897032 MonoBehaviour: - m_ObjectHideFlags: 1 + m_ObjectHideFlags: 2 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 100100000} m_GameObject: {fileID: 1380797001910276} @@ -160,7 +158,7 @@ MonoBehaviour: stringVal: --- !u!114 &114099386588132780 MonoBehaviour: - m_ObjectHideFlags: 1 + m_ObjectHideFlags: 2 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 100100000} m_GameObject: {fileID: 1380797001910276} @@ -187,7 +185,7 @@ MonoBehaviour: stringVal: --- !u!114 &114110427670967256 MonoBehaviour: - m_ObjectHideFlags: 1 + m_ObjectHideFlags: 2 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 100100000} m_GameObject: {fileID: 1380797001910276} @@ -207,7 +205,7 @@ MonoBehaviour: floatVal: 0 --- !u!114 &114116014992790474 MonoBehaviour: - m_ObjectHideFlags: 1 + m_ObjectHideFlags: 0 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 100100000} m_GameObject: {fileID: 1380797001910276} @@ -251,7 +249,7 @@ MonoBehaviour: luaBindingName: flowchart --- !u!114 &114141913385670956 MonoBehaviour: - m_ObjectHideFlags: 1 + m_ObjectHideFlags: 2 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 100100000} m_GameObject: {fileID: 1380797001910276} @@ -278,7 +276,7 @@ MonoBehaviour: stringVal: --- !u!114 &114194947709156218 MonoBehaviour: - m_ObjectHideFlags: 1 + m_ObjectHideFlags: 2 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 100100000} m_GameObject: {fileID: 1380797001910276} @@ -291,7 +289,7 @@ MonoBehaviour: FireOn: 2 --- !u!114 &114238188189624062 MonoBehaviour: - m_ObjectHideFlags: 1 + m_ObjectHideFlags: 2 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 100100000} m_GameObject: {fileID: 1380797001910276} @@ -318,7 +316,7 @@ MonoBehaviour: stringVal: --- !u!114 &114268424750904310 MonoBehaviour: - m_ObjectHideFlags: 1 + m_ObjectHideFlags: 2 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 100100000} m_GameObject: {fileID: 1380797001910276} @@ -332,7 +330,7 @@ MonoBehaviour: value: 1 --- !u!114 &114310288066248142 MonoBehaviour: - m_ObjectHideFlags: 1 + m_ObjectHideFlags: 2 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 100100000} m_GameObject: {fileID: 1380797001910276} @@ -346,7 +344,7 @@ MonoBehaviour: value: {x: 0, y: 0, z: 0} --- !u!114 &114476154734915750 MonoBehaviour: - m_ObjectHideFlags: 1 + m_ObjectHideFlags: 2 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 100100000} m_GameObject: {fileID: 1380797001910276} @@ -360,7 +358,7 @@ MonoBehaviour: value: {x: 0, y: 0, z: 0} --- !u!114 &114499702294427518 MonoBehaviour: - m_ObjectHideFlags: 1 + m_ObjectHideFlags: 2 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 100100000} m_GameObject: {fileID: 1380797001910276} @@ -374,7 +372,7 @@ MonoBehaviour: value: 1 --- !u!114 &114567745504451066 MonoBehaviour: - m_ObjectHideFlags: 1 + m_ObjectHideFlags: 2 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 100100000} m_GameObject: {fileID: 1380797001910276} @@ -403,7 +401,7 @@ MonoBehaviour: - {fileID: 114588250137994584} --- !u!114 &114588250137994584 MonoBehaviour: - m_ObjectHideFlags: 1 + m_ObjectHideFlags: 2 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 100100000} m_GameObject: {fileID: 1380797001910276} @@ -421,29 +419,9 @@ MonoBehaviour: force: floatRef: {fileID: 114680196880106302} floatVal: 5 ---- !u!114 &114611752584720384 -MonoBehaviour: - m_ObjectHideFlags: 1 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 100100000} - m_GameObject: {fileID: 1380797001910276} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 1b521257e66940a4c835dce2e246e464, type: 3} - m_Name: - m_EditorClassIdentifier: - itemId: 14 - indentLevel: 1 - property: 11 - transformData: - transformRef: {fileID: 0} - transformVal: {fileID: 4244392958347542} - vec3: - vector3Ref: {fileID: 114476154734915750} - vector3Val: {x: 0, y: 0, z: 0} --- !u!114 &114680196880106302 MonoBehaviour: - m_ObjectHideFlags: 1 + m_ObjectHideFlags: 2 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 100100000} m_GameObject: {fileID: 1380797001910276} @@ -457,7 +435,7 @@ MonoBehaviour: value: 0 --- !u!114 &114704119826569804 MonoBehaviour: - m_ObjectHideFlags: 1 + m_ObjectHideFlags: 2 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 100100000} m_GameObject: {fileID: 1380797001910276} @@ -469,29 +447,9 @@ MonoBehaviour: scope: 0 key: spawnAtTrans value: {fileID: 4244392958347542} ---- !u!114 &114797075761082608 -MonoBehaviour: - m_ObjectHideFlags: 1 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 100100000} - m_GameObject: {fileID: 1380797001910276} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 1b521257e66940a4c835dce2e246e464, type: 3} - m_Name: - m_EditorClassIdentifier: - itemId: 13 - indentLevel: 1 - property: 0 - transformData: - transformRef: {fileID: 0} - transformVal: {fileID: 4038790522185248} - vec3: - vector3Ref: {fileID: 114310288066248142} - vector3Val: {x: 0, y: 0, z: 0} --- !u!114 &114873397630457622 MonoBehaviour: - m_ObjectHideFlags: 1 + m_ObjectHideFlags: 2 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 100100000} m_GameObject: {fileID: 1380797001910276} @@ -518,7 +476,7 @@ MonoBehaviour: stringVal: --- !u!114 &114904554220365688 MonoBehaviour: - m_ObjectHideFlags: 1 + m_ObjectHideFlags: 2 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 100100000} m_GameObject: {fileID: 1380797001910276} @@ -531,7 +489,7 @@ MonoBehaviour: indentLevel: 0 --- !u!114 &114920461919457924 MonoBehaviour: - m_ObjectHideFlags: 1 + m_ObjectHideFlags: 2 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 100100000} m_GameObject: {fileID: 1380797001910276} @@ -549,19 +507,25 @@ MonoBehaviour: _parentTransform: transformRef: {fileID: 0} transformVal: {fileID: 0} + _spawnAtSelf: + booleanRef: {fileID: 0} + booleanVal: 0 _spawnPosition: vector3Ref: {fileID: 114476154734915750} vector3Val: {x: 0, y: 0, z: 0} _spawnRotation: vector3Ref: {fileID: 114310288066248142} vector3Val: {x: 0, y: 0, z: 0} + _newlySpawnedObject: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 0} sourceObjectOLD: {fileID: 0} parentTransformOLD: {fileID: 0} spawnPositionOLD: {x: 0, y: 0, z: 0} spawnRotationOLD: {x: 0, y: 0, z: 0} --- !u!114 &114945764084547224 MonoBehaviour: - m_ObjectHideFlags: 1 + m_ObjectHideFlags: 2 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 100100000} m_GameObject: {fileID: 1380797001910276} @@ -588,7 +552,7 @@ MonoBehaviour: stringVal: --- !u!114 &114948797197275504 MonoBehaviour: - m_ObjectHideFlags: 1 + m_ObjectHideFlags: 2 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 100100000} m_GameObject: {fileID: 1380797001910276} @@ -605,7 +569,7 @@ MonoBehaviour: durationOLD: 0 --- !u!114 &114980758164341790 MonoBehaviour: - m_ObjectHideFlags: 1 + m_ObjectHideFlags: 2 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 100100000} m_GameObject: {fileID: 1380797001910276} @@ -629,15 +593,15 @@ MonoBehaviour: commandList: - {fileID: 114945764084547224} - {fileID: 114141913385670956} - - {fileID: 114797075761082608} - - {fileID: 114611752584720384} + - {fileID: 0} + - {fileID: 0} - {fileID: 114920461919457924} - {fileID: 114948797197275504} - {fileID: 114093757454897032} - {fileID: 114904554220365688} --- !u!114 &114987963891140428 MonoBehaviour: - m_ObjectHideFlags: 1 + m_ObjectHideFlags: 2 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 100100000} m_GameObject: {fileID: 1380797001910276} @@ -651,7 +615,7 @@ MonoBehaviour: value: 6 --- !u!114 &114994441961358866 MonoBehaviour: - m_ObjectHideFlags: 1 + m_ObjectHideFlags: 2 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 100100000} m_GameObject: {fileID: 1380797001910276} @@ -665,7 +629,7 @@ MonoBehaviour: value: 0 --- !u!212 &212653995144694442 SpriteRenderer: - m_ObjectHideFlags: 1 + m_ObjectHideFlags: 0 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 100100000} m_GameObject: {fileID: 1380797001910276} diff --git a/Assets/FungusExamples/Playground/Prefabs/Enemy.prefab b/Assets/FungusExamples/Playground/Prefabs/Enemy.prefab index f14f3cef..8f178d65 100644 --- a/Assets/FungusExamples/Playground/Prefabs/Enemy.prefab +++ b/Assets/FungusExamples/Playground/Prefabs/Enemy.prefab @@ -49,7 +49,7 @@ GameObject: m_IsActive: 1 --- !u!4 &4729075542556854 Transform: - m_ObjectHideFlags: 1 + m_ObjectHideFlags: 0 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 100100000} m_GameObject: {fileID: 1292638556747252} @@ -63,7 +63,7 @@ Transform: --- !u!50 &50984474618864754 Rigidbody2D: serializedVersion: 4 - m_ObjectHideFlags: 1 + m_ObjectHideFlags: 0 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 100100000} m_GameObject: {fileID: 1292638556747252} @@ -82,7 +82,7 @@ Rigidbody2D: m_Constraints: 0 --- !u!61 &61443573752364678 BoxCollider2D: - m_ObjectHideFlags: 1 + m_ObjectHideFlags: 0 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 100100000} m_GameObject: {fileID: 1292638556747252} @@ -238,7 +238,7 @@ MonoBehaviour: targetGameObjectOLD: {fileID: 0} --- !u!114 &114478123438267686 MonoBehaviour: - m_ObjectHideFlags: 1 + m_ObjectHideFlags: 2 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 100100000} m_GameObject: {fileID: 1292638556747252} @@ -293,7 +293,7 @@ MonoBehaviour: spawnRotationOLD: {x: 0, y: 0, z: 0} --- !u!114 &114619489782507194 MonoBehaviour: - m_ObjectHideFlags: 1 + m_ObjectHideFlags: 0 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 100100000} m_GameObject: {fileID: 1292638556747252} @@ -500,7 +500,7 @@ MonoBehaviour: - {fileID: 114643528736330088} --- !u!212 &212968368228859608 SpriteRenderer: - m_ObjectHideFlags: 1 + m_ObjectHideFlags: 0 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 100100000} m_GameObject: {fileID: 1292638556747252} diff --git a/Assets/FungusExamples/Playground/Prefabs/Laser.prefab b/Assets/FungusExamples/Playground/Prefabs/Laser.prefab index 33cc2829..a1f2615e 100644 --- a/Assets/FungusExamples/Playground/Prefabs/Laser.prefab +++ b/Assets/FungusExamples/Playground/Prefabs/Laser.prefab @@ -72,7 +72,7 @@ Transform: m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!4 &4591436351563906 Transform: - m_ObjectHideFlags: 1 + m_ObjectHideFlags: 0 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 100100000} m_GameObject: {fileID: 1942691996823588} @@ -87,7 +87,7 @@ Transform: --- !u!50 &50266752063846120 Rigidbody2D: serializedVersion: 4 - m_ObjectHideFlags: 1 + m_ObjectHideFlags: 0 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 100100000} m_GameObject: {fileID: 1942691996823588} @@ -106,7 +106,7 @@ Rigidbody2D: m_Constraints: 0 --- !u!60 &60745726664901920 PolygonCollider2D: - m_ObjectHideFlags: 1 + m_ObjectHideFlags: 0 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 100100000} m_GameObject: {fileID: 1942691996823588} @@ -276,7 +276,7 @@ TrailRenderer: --- !u!96 &96390674517467256 TrailRenderer: serializedVersion: 2 - m_ObjectHideFlags: 1 + m_ObjectHideFlags: 0 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 100100000} m_GameObject: {fileID: 1942691996823588} @@ -366,7 +366,7 @@ TrailRenderer: m_Autodestruct: 0 --- !u!114 &114182131449558960 MonoBehaviour: - m_ObjectHideFlags: 1 + m_ObjectHideFlags: 2 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 100100000} m_GameObject: {fileID: 1942691996823588} @@ -391,7 +391,7 @@ MonoBehaviour: - {fileID: 114299940920854140} --- !u!114 &114216864803211772 MonoBehaviour: - m_ObjectHideFlags: 1 + m_ObjectHideFlags: 2 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 100100000} m_GameObject: {fileID: 1942691996823588} @@ -405,7 +405,7 @@ MonoBehaviour: value: {fileID: 50266752063846120} --- !u!114 &114250531415154764 MonoBehaviour: - m_ObjectHideFlags: 1 + m_ObjectHideFlags: 2 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 100100000} m_GameObject: {fileID: 1942691996823588} @@ -420,7 +420,7 @@ MonoBehaviour: FireOn: 1 --- !u!114 &114299940920854140 MonoBehaviour: - m_ObjectHideFlags: 1 + m_ObjectHideFlags: 2 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 100100000} m_GameObject: {fileID: 1942691996823588} @@ -438,7 +438,7 @@ MonoBehaviour: messageOLD: --- !u!114 &114455382144078078 MonoBehaviour: - m_ObjectHideFlags: 1 + m_ObjectHideFlags: 2 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 100100000} m_GameObject: {fileID: 1942691996823588} @@ -452,7 +452,7 @@ MonoBehaviour: value: 3 --- !u!114 &114487163524766562 MonoBehaviour: - m_ObjectHideFlags: 1 + m_ObjectHideFlags: 2 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 100100000} m_GameObject: {fileID: 1942691996823588} @@ -479,7 +479,7 @@ MonoBehaviour: vector2Val: {x: 0, y: 0} --- !u!114 &114526636883379746 MonoBehaviour: - m_ObjectHideFlags: 1 + m_ObjectHideFlags: 0 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 100100000} m_GameObject: {fileID: 1942691996823588} @@ -518,7 +518,7 @@ MonoBehaviour: luaBindingName: flowchart --- !u!114 &114593477394275294 MonoBehaviour: - m_ObjectHideFlags: 1 + m_ObjectHideFlags: 2 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 100100000} m_GameObject: {fileID: 1942691996823588} @@ -544,7 +544,7 @@ MonoBehaviour: - {fileID: 114751314740007556} --- !u!114 &114602407226986924 MonoBehaviour: - m_ObjectHideFlags: 1 + m_ObjectHideFlags: 2 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 100100000} m_GameObject: {fileID: 1942691996823588} @@ -557,7 +557,7 @@ MonoBehaviour: waitForFrames: 1 --- !u!114 &114751314740007556 MonoBehaviour: - m_ObjectHideFlags: 1 + m_ObjectHideFlags: 2 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 100100000} m_GameObject: {fileID: 1942691996823588} @@ -577,7 +577,7 @@ MonoBehaviour: targetGameObjectOLD: {fileID: 0} --- !u!114 &114979932131573080 MonoBehaviour: - m_ObjectHideFlags: 1 + m_ObjectHideFlags: 2 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 100100000} m_GameObject: {fileID: 1942691996823588} @@ -591,7 +591,7 @@ MonoBehaviour: value: {x: 0, y: 10} --- !u!212 &212200396344711462 SpriteRenderer: - m_ObjectHideFlags: 1 + m_ObjectHideFlags: 0 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 100100000} m_GameObject: {fileID: 1942691996823588} diff --git a/Assets/FungusExamples/Playground/Prefabs/LeftGoal.prefab b/Assets/FungusExamples/Playground/Prefabs/LeftGoal.prefab index fc718bec..acff678c 100644 --- a/Assets/FungusExamples/Playground/Prefabs/LeftGoal.prefab +++ b/Assets/FungusExamples/Playground/Prefabs/LeftGoal.prefab @@ -34,7 +34,7 @@ GameObject: m_IsActive: 1 --- !u!4 &4678101578738422 Transform: - m_ObjectHideFlags: 1 + m_ObjectHideFlags: 0 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 100100000} m_GameObject: {fileID: 1846694562102150} @@ -47,7 +47,7 @@ Transform: m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!61 &61864220351951950 BoxCollider2D: - m_ObjectHideFlags: 1 + m_ObjectHideFlags: 0 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 100100000} m_GameObject: {fileID: 1846694562102150} @@ -72,7 +72,7 @@ BoxCollider2D: m_EdgeRadius: 0 --- !u!114 &114034257819947328 MonoBehaviour: - m_ObjectHideFlags: 1 + m_ObjectHideFlags: 2 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 100100000} m_GameObject: {fileID: 1846694562102150} @@ -90,7 +90,7 @@ MonoBehaviour: messageOLD: --- !u!114 &114505441869896354 MonoBehaviour: - m_ObjectHideFlags: 1 + m_ObjectHideFlags: 2 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 100100000} m_GameObject: {fileID: 1846694562102150} @@ -105,7 +105,7 @@ MonoBehaviour: FireOn: 1 --- !u!114 &114534288108544306 MonoBehaviour: - m_ObjectHideFlags: 1 + m_ObjectHideFlags: 2 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 100100000} m_GameObject: {fileID: 1846694562102150} @@ -130,7 +130,7 @@ MonoBehaviour: - {fileID: 114034257819947328} --- !u!114 &114600625297110402 MonoBehaviour: - m_ObjectHideFlags: 1 + m_ObjectHideFlags: 0 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 100100000} m_GameObject: {fileID: 1846694562102150} @@ -166,7 +166,7 @@ MonoBehaviour: luaBindingName: flowchart --- !u!212 &212708722285412346 SpriteRenderer: - m_ObjectHideFlags: 1 + m_ObjectHideFlags: 0 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 100100000} m_GameObject: {fileID: 1846694562102150} diff --git a/Assets/FungusExamples/Playground/Prefabs/P1.prefab b/Assets/FungusExamples/Playground/Prefabs/P1.prefab index a663e9aa..40076df4 100644 --- a/Assets/FungusExamples/Playground/Prefabs/P1.prefab +++ b/Assets/FungusExamples/Playground/Prefabs/P1.prefab @@ -48,7 +48,7 @@ GameObject: m_IsActive: 1 --- !u!4 &4164059856041556 Transform: - m_ObjectHideFlags: 1 + m_ObjectHideFlags: 0 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 100100000} m_GameObject: {fileID: 1404956649453682} @@ -62,7 +62,7 @@ Transform: --- !u!50 &50485926042586766 Rigidbody2D: serializedVersion: 4 - m_ObjectHideFlags: 1 + m_ObjectHideFlags: 0 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 100100000} m_GameObject: {fileID: 1404956649453682} @@ -81,7 +81,7 @@ Rigidbody2D: m_Constraints: 4 --- !u!58 &58545323045532278 CircleCollider2D: - m_ObjectHideFlags: 1 + m_ObjectHideFlags: 0 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 100100000} m_GameObject: {fileID: 1404956649453682} @@ -96,7 +96,7 @@ CircleCollider2D: m_Radius: 0.5 --- !u!114 &114024079056778752 MonoBehaviour: - m_ObjectHideFlags: 1 + m_ObjectHideFlags: 2 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 100100000} m_GameObject: {fileID: 1404956649453682} @@ -110,7 +110,7 @@ MonoBehaviour: value: 0 --- !u!114 &114081283549603066 MonoBehaviour: - m_ObjectHideFlags: 1 + m_ObjectHideFlags: 2 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 100100000} m_GameObject: {fileID: 1404956649453682} @@ -133,7 +133,7 @@ MonoBehaviour: operation: 2 --- !u!114 &114085027684436294 MonoBehaviour: - m_ObjectHideFlags: 1 + m_ObjectHideFlags: 2 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 100100000} m_GameObject: {fileID: 1404956649453682} @@ -159,7 +159,7 @@ MonoBehaviour: floatVal: 0 --- !u!114 &114126325013622294 MonoBehaviour: - m_ObjectHideFlags: 1 + m_ObjectHideFlags: 0 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 100100000} m_GameObject: {fileID: 1404956649453682} @@ -202,7 +202,7 @@ MonoBehaviour: luaBindingName: flowchart --- !u!114 &114177047531498962 MonoBehaviour: - m_ObjectHideFlags: 1 + m_ObjectHideFlags: 2 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 100100000} m_GameObject: {fileID: 1404956649453682} @@ -234,7 +234,7 @@ MonoBehaviour: - {fileID: 114334667391765546} --- !u!114 &114188004173552184 MonoBehaviour: - m_ObjectHideFlags: 1 + m_ObjectHideFlags: 2 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 100100000} m_GameObject: {fileID: 1404956649453682} @@ -248,7 +248,7 @@ MonoBehaviour: value: 0 --- !u!114 &114201986544531680 MonoBehaviour: - m_ObjectHideFlags: 1 + m_ObjectHideFlags: 2 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 100100000} m_GameObject: {fileID: 1404956649453682} @@ -261,7 +261,7 @@ MonoBehaviour: FireOn: 2 --- !u!114 &114314477038342724 MonoBehaviour: - m_ObjectHideFlags: 1 + m_ObjectHideFlags: 2 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 100100000} m_GameObject: {fileID: 1404956649453682} @@ -281,7 +281,7 @@ MonoBehaviour: floatVal: 0 --- !u!114 &114326212544484044 MonoBehaviour: - m_ObjectHideFlags: 1 + m_ObjectHideFlags: 2 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 100100000} m_GameObject: {fileID: 1404956649453682} @@ -295,7 +295,7 @@ MonoBehaviour: value: {x: 0, y: 0, z: 0} --- !u!114 &114334667391765546 MonoBehaviour: - m_ObjectHideFlags: 1 + m_ObjectHideFlags: 2 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 100100000} m_GameObject: {fileID: 1404956649453682} @@ -322,7 +322,7 @@ MonoBehaviour: vector2Val: {x: 0, y: 0} --- !u!114 &114337264207455518 MonoBehaviour: - m_ObjectHideFlags: 1 + m_ObjectHideFlags: 2 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 100100000} m_GameObject: {fileID: 1404956649453682} @@ -342,7 +342,7 @@ MonoBehaviour: floatVal: 0 --- !u!114 &114348338108346498 MonoBehaviour: - m_ObjectHideFlags: 1 + m_ObjectHideFlags: 2 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 100100000} m_GameObject: {fileID: 1404956649453682} @@ -356,7 +356,7 @@ MonoBehaviour: value: {x: 0, y: 0} --- !u!114 &114409838832793244 MonoBehaviour: - m_ObjectHideFlags: 1 + m_ObjectHideFlags: 2 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 100100000} m_GameObject: {fileID: 1404956649453682} @@ -375,7 +375,7 @@ MonoBehaviour: vector3Val: {x: 0, y: 0, z: 0} --- !u!114 &114465925968467040 MonoBehaviour: - m_ObjectHideFlags: 1 + m_ObjectHideFlags: 2 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 100100000} m_GameObject: {fileID: 1404956649453682} @@ -394,7 +394,7 @@ MonoBehaviour: vector2Val: {x: 0, y: 0} --- !u!114 &114573728990135962 MonoBehaviour: - m_ObjectHideFlags: 1 + m_ObjectHideFlags: 2 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 100100000} m_GameObject: {fileID: 1404956649453682} @@ -408,7 +408,7 @@ MonoBehaviour: value: 60 --- !u!114 &114777688141419168 MonoBehaviour: - m_ObjectHideFlags: 1 + m_ObjectHideFlags: 2 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 100100000} m_GameObject: {fileID: 1404956649453682} @@ -422,7 +422,7 @@ MonoBehaviour: value: {x: 0, y: 0, z: 0} --- !u!114 &114862459103620794 MonoBehaviour: - m_ObjectHideFlags: 1 + m_ObjectHideFlags: 2 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 100100000} m_GameObject: {fileID: 1404956649453682} @@ -448,7 +448,7 @@ MonoBehaviour: floatVal: 0 --- !u!212 &212462972284088668 SpriteRenderer: - m_ObjectHideFlags: 1 + m_ObjectHideFlags: 0 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 100100000} m_GameObject: {fileID: 1404956649453682} diff --git a/Assets/FungusExamples/Playground/Prefabs/Spawner.prefab b/Assets/FungusExamples/Playground/Prefabs/Spawner.prefab index 7e6b5000..7827414b 100644 --- a/Assets/FungusExamples/Playground/Prefabs/Spawner.prefab +++ b/Assets/FungusExamples/Playground/Prefabs/Spawner.prefab @@ -31,7 +31,6 @@ GameObject: - component: {fileID: 114205508981943572} - component: {fileID: 114451434740700826} - component: {fileID: 114158483713016934} - - component: {fileID: 114170397803954806} - component: {fileID: 114708947738974764} - component: {fileID: 114536672983551206} m_Layer: 0 @@ -43,7 +42,7 @@ GameObject: m_IsActive: 1 --- !u!4 &4839343606506310 Transform: - m_ObjectHideFlags: 1 + m_ObjectHideFlags: 0 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 100100000} m_GameObject: {fileID: 1643320542487702} @@ -56,7 +55,7 @@ Transform: m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!114 &114094183539183980 MonoBehaviour: - m_ObjectHideFlags: 1 + m_ObjectHideFlags: 0 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 100100000} m_GameObject: {fileID: 1643320542487702} @@ -98,7 +97,7 @@ MonoBehaviour: luaBindingName: flowchart --- !u!114 &114158188752211888 MonoBehaviour: - m_ObjectHideFlags: 1 + m_ObjectHideFlags: 2 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 100100000} m_GameObject: {fileID: 1643320542487702} @@ -124,13 +123,12 @@ MonoBehaviour: - {fileID: 114222629582179790} - {fileID: 114186534075702092} - {fileID: 114845356377412462} - - {fileID: 114170397803954806} - {fileID: 114536672983551206} - {fileID: 114533871774847328} - {fileID: 114197543733484370} --- !u!114 &114158483713016934 MonoBehaviour: - m_ObjectHideFlags: 1 + m_ObjectHideFlags: 2 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 100100000} m_GameObject: {fileID: 1643320542487702} @@ -142,34 +140,9 @@ MonoBehaviour: scope: 0 key: spawnPos value: {x: 0, y: 0, z: 0} ---- !u!114 &114170397803954806 -MonoBehaviour: - m_ObjectHideFlags: 1 - m_PrefabParentObject: {fileID: 0} - m_PrefabInternal: {fileID: 100100000} - m_GameObject: {fileID: 1643320542487702} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 1119697fcc02a1c45936fd8c00b481d7, type: 3} - m_Name: - m_EditorClassIdentifier: - itemId: 7 - indentLevel: 0 - xval: - floatRef: {fileID: 114205508981943572} - floatVal: 0 - yval: - floatRef: {fileID: 114451434740700826} - floatVal: 0 - zval: - floatRef: {fileID: 0} - floatVal: 0 - vec3: - vector3Ref: {fileID: 114158483713016934} - vector3Val: {x: 0, y: 0, z: 0} --- !u!114 &114186534075702092 MonoBehaviour: - m_ObjectHideFlags: 1 + m_ObjectHideFlags: 2 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 100100000} m_GameObject: {fileID: 1643320542487702} @@ -189,7 +162,7 @@ MonoBehaviour: floatVal: 6 --- !u!114 &114197543733484370 MonoBehaviour: - m_ObjectHideFlags: 1 + m_ObjectHideFlags: 2 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 100100000} m_GameObject: {fileID: 1643320542487702} @@ -206,7 +179,7 @@ MonoBehaviour: targetLabelOLD: {fileID: 0} --- !u!114 &114205508981943572 MonoBehaviour: - m_ObjectHideFlags: 1 + m_ObjectHideFlags: 2 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 100100000} m_GameObject: {fileID: 1643320542487702} @@ -220,7 +193,7 @@ MonoBehaviour: value: 0 --- !u!114 &114220456410977536 MonoBehaviour: - m_ObjectHideFlags: 1 + m_ObjectHideFlags: 2 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 100100000} m_GameObject: {fileID: 1643320542487702} @@ -234,7 +207,7 @@ MonoBehaviour: key: start --- !u!114 &114222629582179790 MonoBehaviour: - m_ObjectHideFlags: 1 + m_ObjectHideFlags: 2 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 100100000} m_GameObject: {fileID: 1643320542487702} @@ -251,7 +224,7 @@ MonoBehaviour: durationOLD: 0 --- !u!114 &114271269415529472 MonoBehaviour: - m_ObjectHideFlags: 1 + m_ObjectHideFlags: 2 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 100100000} m_GameObject: {fileID: 1643320542487702} @@ -264,7 +237,7 @@ MonoBehaviour: waitForFrames: 1 --- !u!114 &114451434740700826 MonoBehaviour: - m_ObjectHideFlags: 1 + m_ObjectHideFlags: 2 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 100100000} m_GameObject: {fileID: 1643320542487702} @@ -278,7 +251,7 @@ MonoBehaviour: value: 0 --- !u!114 &114533871774847328 MonoBehaviour: - m_ObjectHideFlags: 1 + m_ObjectHideFlags: 2 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 100100000} m_GameObject: {fileID: 1643320542487702} @@ -296,19 +269,25 @@ MonoBehaviour: _parentTransform: transformRef: {fileID: 0} transformVal: {fileID: 0} + _spawnAtSelf: + booleanRef: {fileID: 0} + booleanVal: 0 _spawnPosition: vector3Ref: {fileID: 114158483713016934} vector3Val: {x: 0, y: 0, z: 0} _spawnRotation: vector3Ref: {fileID: 0} vector3Val: {x: 0, y: 0, z: 0} + _newlySpawnedObject: + gameObjectRef: {fileID: 0} + gameObjectVal: {fileID: 0} sourceObjectOLD: {fileID: 0} parentTransformOLD: {fileID: 0} spawnPositionOLD: {x: 0, y: 0, z: 0} spawnRotationOLD: {x: 0, y: 0, z: 0} --- !u!114 &114536672983551206 MonoBehaviour: - m_ObjectHideFlags: 1 + m_ObjectHideFlags: 2 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 100100000} m_GameObject: {fileID: 1643320542487702} @@ -331,7 +310,7 @@ MonoBehaviour: operation: 0 --- !u!114 &114708947738974764 MonoBehaviour: - m_ObjectHideFlags: 1 + m_ObjectHideFlags: 2 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 100100000} m_GameObject: {fileID: 1643320542487702} @@ -345,7 +324,7 @@ MonoBehaviour: value: {x: 0, y: 6, z: 0} --- !u!114 &114845356377412462 MonoBehaviour: - m_ObjectHideFlags: 1 + m_ObjectHideFlags: 2 m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 100100000} m_GameObject: {fileID: 1643320542487702}