Browse Source

Renamed folders within PlaygroundDemo

Fixed missing components in PlaygroundDemo scenes and prefabs
Formatting fixed for added scripts
Added HasReference override to all commands
master
desktop-maesty/steve 7 years ago
parent
commit
cc56a1cd5f
  1. 8
      Assets/Fungus/Scripts/Commands/Destroy.cs
  2. 10
      Assets/Fungus/Scripts/Commands/Input/GetAxis.cs
  3. 9
      Assets/Fungus/Scripts/Commands/Rigidbody2D/AddForce2D.cs
  4. 9
      Assets/Fungus/Scripts/Commands/Rigidbody2D/AddTorque2D.cs
  5. 8
      Assets/Fungus/Scripts/Commands/Rigidbody2D/StopMotionRigidBody2D.cs
  6. 10
      Assets/Fungus/Scripts/Commands/SpawnObject.cs
  7. 12
      Assets/Fungus/Scripts/Commands/Transform/TransformProperty.cs
  8. 10
      Assets/Fungus/Scripts/Commands/Vector3/Vector3Arithmetic.cs
  9. 9
      Assets/Fungus/Scripts/Commands/Vector3/Vector3Fields.cs
  10. 7
      Assets/Fungus/Scripts/Commands/Vector3/Vector3Normalise.cs
  11. 12
      Assets/Fungus/Scripts/Commands/Vector3/Vector3ToVector2.cs
  12. 2
      Assets/FungusExamples/Playground/Lander.unity
  13. 106
      Assets/FungusExamples/Playground/Prefabs/Cannon.prefab
  14. 12
      Assets/FungusExamples/Playground/Prefabs/Enemy.prefab
  15. 32
      Assets/FungusExamples/Playground/Prefabs/Laser.prefab
  16. 14
      Assets/FungusExamples/Playground/Prefabs/LeftGoal.prefab
  17. 42
      Assets/FungusExamples/Playground/Prefabs/P1.prefab
  18. 63
      Assets/FungusExamples/Playground/Prefabs/Spawner.prefab

8
Assets/Fungus/Scripts/Commands/Destroy.cs

@ -53,6 +53,14 @@ namespace Fungus
return new Color32(235, 191, 217, 255); 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 #endregion
#region Backwards compatibility #region Backwards compatibility

10
Assets/Fungus/Scripts/Commands/Input/GetAxis.cs

@ -26,7 +26,7 @@ namespace Fungus
public override void OnEnter() public override void OnEnter()
{ {
if(axisRaw) if (axisRaw)
{ {
outValue.Value = Input.GetAxisRaw(axisName.Value); outValue.Value = Input.GetAxisRaw(axisName.Value);
} }
@ -48,5 +48,13 @@ namespace Fungus
return new Color32(235, 191, 217, 255); return new Color32(235, 191, 217, 255);
} }
public override bool HasReference(Variable variable)
{
if (axisName.stringRef == variable || outValue.floatRef == variable)
return true;
return false;
}
} }
} }

9
Assets/Fungus/Scripts/Commands/Rigidbody2D/AddForce2D.cs

@ -72,5 +72,14 @@ namespace Fungus
return new Color32(235, 191, 217, 255); 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;
}
} }
} }

9
Assets/Fungus/Scripts/Commands/Rigidbody2D/AddTorque2D.cs

@ -32,7 +32,7 @@ namespace Fungus
public override string GetSummary() public override string GetSummary()
{ {
if(rb.Value == null) if (rb.Value == null)
{ {
return "Error: rb not set"; return "Error: rb not set";
} }
@ -45,5 +45,12 @@ namespace Fungus
return new Color32(235, 191, 217, 255); return new Color32(235, 191, 217, 255);
} }
public override bool HasReference(Variable variable)
{
if (rb.rigidbody2DRef == variable || force.floatRef == variable)
return true;
return false;
}
} }
} }

8
Assets/Fungus/Scripts/Commands/Rigidbody2D/StopMotionRigidBody2D.cs

@ -57,5 +57,13 @@ namespace Fungus
return new Color32(235, 191, 217, 255); return new Color32(235, 191, 217, 255);
} }
public override bool HasReference(Variable variable)
{
if (rb.rigidbody2DRef == variable)
return true;
return false;
}
} }
} }

10
Assets/Fungus/Scripts/Commands/SpawnObject.cs

@ -92,6 +92,16 @@ namespace Fungus
return new Color32(235, 191, 217, 255); 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 #endregion
#region Backwards compatibility #region Backwards compatibility

12
Assets/Fungus/Scripts/Commands/Transform/TransformProperty.cs

@ -180,7 +180,7 @@ namespace Fungus
public override string GetSummary() public override string GetSummary()
{ {
if(transformData.Value == null) if (transformData.Value == null)
{ {
return "Error: no transform set"; return "Error: no transform set";
} }
@ -190,7 +190,7 @@ namespace Fungus
var iov = inOutVar as Vector3Variable; var iov = inOutVar as Vector3Variable;
var iot = inOutVar as TransformVariable; 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"; 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); return new Color32(235, 191, 217, 255);
} }
public override bool HasReference(Variable variable)
{
if (transformData.transformRef == variable || inOutVar == variable)
return true;
return false;
}
} }
} }

10
Assets/Fungus/Scripts/Commands/Vector3/Vector3Arithmetic.cs

@ -58,7 +58,7 @@ namespace Fungus
public override string GetSummary() public override string GetSummary()
{ {
if(output.vector3Ref == null) if (output.vector3Ref == null)
{ {
return "Error: no output set"; return "Error: no output set";
} }
@ -70,5 +70,13 @@ namespace Fungus
{ {
return new Color32(235, 191, 217, 255); 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;
}
} }
} }

9
Assets/Fungus/Scripts/Commands/Vector3/Vector3Fields.cs

@ -50,7 +50,7 @@ namespace Fungus
public override string GetSummary() public override string GetSummary()
{ {
if(vec3.vector3Ref == null) if (vec3.vector3Ref == null)
{ {
return "Error: vec3 not set"; return "Error: vec3 not set";
} }
@ -63,5 +63,12 @@ namespace Fungus
return new Color32(235, 191, 217, 255); 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;
}
} }
} }

7
Assets/Fungus/Scripts/Commands/Vector3/Vector3Normalise.cs

@ -36,5 +36,12 @@ namespace Fungus
return new Color32(235, 191, 217, 255); return new Color32(235, 191, 217, 255);
} }
public override bool HasReference(Variable variable)
{
if (vec3In.vector3Ref == variable || vec3Out.vector3Ref == variable)
return true;
return false;
}
} }
} }

12
Assets/Fungus/Scripts/Commands/Vector3/Vector3ToVector2.cs

@ -29,8 +29,10 @@ namespace Fungus
public override string GetSummary() 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 "Converting " + vec3.vector3Ref.Key + " to " + vec2.vector2Ref.Key;
}
return "Error: variables not set"; return "Error: variables not set";
} }
@ -40,5 +42,13 @@ namespace Fungus
return new Color32(235, 191, 217, 255); return new Color32(235, 191, 217, 255);
} }
public override bool HasReference(Variable variable)
{
if (variable == vec3.vector3Ref || variable == vec2.vector2Ref)
return true;
return false;
}
} }
} }

2
Assets/FungusExamples/Playground/Lander.unity

@ -2021,7 +2021,7 @@ MonoBehaviour:
scrollPos: {x: 146, y: -26.5} scrollPos: {x: 146, y: -26.5}
variablesScrollPos: {x: 0, y: 0} variablesScrollPos: {x: 0, y: 0}
variablesExpanded: 1 variablesExpanded: 1
blockViewHeight: 324 blockViewHeight: 401
zoom: 1 zoom: 1
scrollViewRect: scrollViewRect:
serializedVersion: 2 serializedVersion: 2

106
Assets/FungusExamples/Playground/Prefabs/Cannon.prefab

@ -45,8 +45,6 @@ GameObject:
- component: {fileID: 114873397630457622} - component: {fileID: 114873397630457622}
- component: {fileID: 114099386588132780} - component: {fileID: 114099386588132780}
- component: {fileID: 114238188189624062} - component: {fileID: 114238188189624062}
- component: {fileID: 114797075761082608}
- component: {fileID: 114611752584720384}
m_Layer: 0 m_Layer: 0
m_Name: Cannon m_Name: Cannon
m_TagString: Untagged m_TagString: Untagged
@ -72,7 +70,7 @@ GameObject:
m_IsActive: 1 m_IsActive: 1
--- !u!4 &4038790522185248 --- !u!4 &4038790522185248
Transform: Transform:
m_ObjectHideFlags: 1 m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0} m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000} m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1380797001910276} m_GameObject: {fileID: 1380797001910276}
@ -100,7 +98,7 @@ Transform:
--- !u!50 &50078523555390844 --- !u!50 &50078523555390844
Rigidbody2D: Rigidbody2D:
serializedVersion: 4 serializedVersion: 4
m_ObjectHideFlags: 1 m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0} m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000} m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1380797001910276} m_GameObject: {fileID: 1380797001910276}
@ -119,7 +117,7 @@ Rigidbody2D:
m_Constraints: 3 m_Constraints: 3
--- !u!114 &114036837631678186 --- !u!114 &114036837631678186
MonoBehaviour: MonoBehaviour:
m_ObjectHideFlags: 1 m_ObjectHideFlags: 2
m_PrefabParentObject: {fileID: 0} m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000} m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1380797001910276} m_GameObject: {fileID: 1380797001910276}
@ -133,7 +131,7 @@ MonoBehaviour:
keyCode: 32 keyCode: 32
--- !u!114 &114093757454897032 --- !u!114 &114093757454897032
MonoBehaviour: MonoBehaviour:
m_ObjectHideFlags: 1 m_ObjectHideFlags: 2
m_PrefabParentObject: {fileID: 0} m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000} m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1380797001910276} m_GameObject: {fileID: 1380797001910276}
@ -160,7 +158,7 @@ MonoBehaviour:
stringVal: stringVal:
--- !u!114 &114099386588132780 --- !u!114 &114099386588132780
MonoBehaviour: MonoBehaviour:
m_ObjectHideFlags: 1 m_ObjectHideFlags: 2
m_PrefabParentObject: {fileID: 0} m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000} m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1380797001910276} m_GameObject: {fileID: 1380797001910276}
@ -187,7 +185,7 @@ MonoBehaviour:
stringVal: stringVal:
--- !u!114 &114110427670967256 --- !u!114 &114110427670967256
MonoBehaviour: MonoBehaviour:
m_ObjectHideFlags: 1 m_ObjectHideFlags: 2
m_PrefabParentObject: {fileID: 0} m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000} m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1380797001910276} m_GameObject: {fileID: 1380797001910276}
@ -207,7 +205,7 @@ MonoBehaviour:
floatVal: 0 floatVal: 0
--- !u!114 &114116014992790474 --- !u!114 &114116014992790474
MonoBehaviour: MonoBehaviour:
m_ObjectHideFlags: 1 m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0} m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000} m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1380797001910276} m_GameObject: {fileID: 1380797001910276}
@ -251,7 +249,7 @@ MonoBehaviour:
luaBindingName: flowchart luaBindingName: flowchart
--- !u!114 &114141913385670956 --- !u!114 &114141913385670956
MonoBehaviour: MonoBehaviour:
m_ObjectHideFlags: 1 m_ObjectHideFlags: 2
m_PrefabParentObject: {fileID: 0} m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000} m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1380797001910276} m_GameObject: {fileID: 1380797001910276}
@ -278,7 +276,7 @@ MonoBehaviour:
stringVal: stringVal:
--- !u!114 &114194947709156218 --- !u!114 &114194947709156218
MonoBehaviour: MonoBehaviour:
m_ObjectHideFlags: 1 m_ObjectHideFlags: 2
m_PrefabParentObject: {fileID: 0} m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000} m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1380797001910276} m_GameObject: {fileID: 1380797001910276}
@ -291,7 +289,7 @@ MonoBehaviour:
FireOn: 2 FireOn: 2
--- !u!114 &114238188189624062 --- !u!114 &114238188189624062
MonoBehaviour: MonoBehaviour:
m_ObjectHideFlags: 1 m_ObjectHideFlags: 2
m_PrefabParentObject: {fileID: 0} m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000} m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1380797001910276} m_GameObject: {fileID: 1380797001910276}
@ -318,7 +316,7 @@ MonoBehaviour:
stringVal: stringVal:
--- !u!114 &114268424750904310 --- !u!114 &114268424750904310
MonoBehaviour: MonoBehaviour:
m_ObjectHideFlags: 1 m_ObjectHideFlags: 2
m_PrefabParentObject: {fileID: 0} m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000} m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1380797001910276} m_GameObject: {fileID: 1380797001910276}
@ -332,7 +330,7 @@ MonoBehaviour:
value: 1 value: 1
--- !u!114 &114310288066248142 --- !u!114 &114310288066248142
MonoBehaviour: MonoBehaviour:
m_ObjectHideFlags: 1 m_ObjectHideFlags: 2
m_PrefabParentObject: {fileID: 0} m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000} m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1380797001910276} m_GameObject: {fileID: 1380797001910276}
@ -346,7 +344,7 @@ MonoBehaviour:
value: {x: 0, y: 0, z: 0} value: {x: 0, y: 0, z: 0}
--- !u!114 &114476154734915750 --- !u!114 &114476154734915750
MonoBehaviour: MonoBehaviour:
m_ObjectHideFlags: 1 m_ObjectHideFlags: 2
m_PrefabParentObject: {fileID: 0} m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000} m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1380797001910276} m_GameObject: {fileID: 1380797001910276}
@ -360,7 +358,7 @@ MonoBehaviour:
value: {x: 0, y: 0, z: 0} value: {x: 0, y: 0, z: 0}
--- !u!114 &114499702294427518 --- !u!114 &114499702294427518
MonoBehaviour: MonoBehaviour:
m_ObjectHideFlags: 1 m_ObjectHideFlags: 2
m_PrefabParentObject: {fileID: 0} m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000} m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1380797001910276} m_GameObject: {fileID: 1380797001910276}
@ -374,7 +372,7 @@ MonoBehaviour:
value: 1 value: 1
--- !u!114 &114567745504451066 --- !u!114 &114567745504451066
MonoBehaviour: MonoBehaviour:
m_ObjectHideFlags: 1 m_ObjectHideFlags: 2
m_PrefabParentObject: {fileID: 0} m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000} m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1380797001910276} m_GameObject: {fileID: 1380797001910276}
@ -403,7 +401,7 @@ MonoBehaviour:
- {fileID: 114588250137994584} - {fileID: 114588250137994584}
--- !u!114 &114588250137994584 --- !u!114 &114588250137994584
MonoBehaviour: MonoBehaviour:
m_ObjectHideFlags: 1 m_ObjectHideFlags: 2
m_PrefabParentObject: {fileID: 0} m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000} m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1380797001910276} m_GameObject: {fileID: 1380797001910276}
@ -421,29 +419,9 @@ MonoBehaviour:
force: force:
floatRef: {fileID: 114680196880106302} floatRef: {fileID: 114680196880106302}
floatVal: 5 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 --- !u!114 &114680196880106302
MonoBehaviour: MonoBehaviour:
m_ObjectHideFlags: 1 m_ObjectHideFlags: 2
m_PrefabParentObject: {fileID: 0} m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000} m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1380797001910276} m_GameObject: {fileID: 1380797001910276}
@ -457,7 +435,7 @@ MonoBehaviour:
value: 0 value: 0
--- !u!114 &114704119826569804 --- !u!114 &114704119826569804
MonoBehaviour: MonoBehaviour:
m_ObjectHideFlags: 1 m_ObjectHideFlags: 2
m_PrefabParentObject: {fileID: 0} m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000} m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1380797001910276} m_GameObject: {fileID: 1380797001910276}
@ -469,29 +447,9 @@ MonoBehaviour:
scope: 0 scope: 0
key: spawnAtTrans key: spawnAtTrans
value: {fileID: 4244392958347542} 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 --- !u!114 &114873397630457622
MonoBehaviour: MonoBehaviour:
m_ObjectHideFlags: 1 m_ObjectHideFlags: 2
m_PrefabParentObject: {fileID: 0} m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000} m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1380797001910276} m_GameObject: {fileID: 1380797001910276}
@ -518,7 +476,7 @@ MonoBehaviour:
stringVal: stringVal:
--- !u!114 &114904554220365688 --- !u!114 &114904554220365688
MonoBehaviour: MonoBehaviour:
m_ObjectHideFlags: 1 m_ObjectHideFlags: 2
m_PrefabParentObject: {fileID: 0} m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000} m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1380797001910276} m_GameObject: {fileID: 1380797001910276}
@ -531,7 +489,7 @@ MonoBehaviour:
indentLevel: 0 indentLevel: 0
--- !u!114 &114920461919457924 --- !u!114 &114920461919457924
MonoBehaviour: MonoBehaviour:
m_ObjectHideFlags: 1 m_ObjectHideFlags: 2
m_PrefabParentObject: {fileID: 0} m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000} m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1380797001910276} m_GameObject: {fileID: 1380797001910276}
@ -549,19 +507,25 @@ MonoBehaviour:
_parentTransform: _parentTransform:
transformRef: {fileID: 0} transformRef: {fileID: 0}
transformVal: {fileID: 0} transformVal: {fileID: 0}
_spawnAtSelf:
booleanRef: {fileID: 0}
booleanVal: 0
_spawnPosition: _spawnPosition:
vector3Ref: {fileID: 114476154734915750} vector3Ref: {fileID: 114476154734915750}
vector3Val: {x: 0, y: 0, z: 0} vector3Val: {x: 0, y: 0, z: 0}
_spawnRotation: _spawnRotation:
vector3Ref: {fileID: 114310288066248142} vector3Ref: {fileID: 114310288066248142}
vector3Val: {x: 0, y: 0, z: 0} vector3Val: {x: 0, y: 0, z: 0}
_newlySpawnedObject:
gameObjectRef: {fileID: 0}
gameObjectVal: {fileID: 0}
sourceObjectOLD: {fileID: 0} sourceObjectOLD: {fileID: 0}
parentTransformOLD: {fileID: 0} parentTransformOLD: {fileID: 0}
spawnPositionOLD: {x: 0, y: 0, z: 0} spawnPositionOLD: {x: 0, y: 0, z: 0}
spawnRotationOLD: {x: 0, y: 0, z: 0} spawnRotationOLD: {x: 0, y: 0, z: 0}
--- !u!114 &114945764084547224 --- !u!114 &114945764084547224
MonoBehaviour: MonoBehaviour:
m_ObjectHideFlags: 1 m_ObjectHideFlags: 2
m_PrefabParentObject: {fileID: 0} m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000} m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1380797001910276} m_GameObject: {fileID: 1380797001910276}
@ -588,7 +552,7 @@ MonoBehaviour:
stringVal: stringVal:
--- !u!114 &114948797197275504 --- !u!114 &114948797197275504
MonoBehaviour: MonoBehaviour:
m_ObjectHideFlags: 1 m_ObjectHideFlags: 2
m_PrefabParentObject: {fileID: 0} m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000} m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1380797001910276} m_GameObject: {fileID: 1380797001910276}
@ -605,7 +569,7 @@ MonoBehaviour:
durationOLD: 0 durationOLD: 0
--- !u!114 &114980758164341790 --- !u!114 &114980758164341790
MonoBehaviour: MonoBehaviour:
m_ObjectHideFlags: 1 m_ObjectHideFlags: 2
m_PrefabParentObject: {fileID: 0} m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000} m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1380797001910276} m_GameObject: {fileID: 1380797001910276}
@ -629,15 +593,15 @@ MonoBehaviour:
commandList: commandList:
- {fileID: 114945764084547224} - {fileID: 114945764084547224}
- {fileID: 114141913385670956} - {fileID: 114141913385670956}
- {fileID: 114797075761082608} - {fileID: 0}
- {fileID: 114611752584720384} - {fileID: 0}
- {fileID: 114920461919457924} - {fileID: 114920461919457924}
- {fileID: 114948797197275504} - {fileID: 114948797197275504}
- {fileID: 114093757454897032} - {fileID: 114093757454897032}
- {fileID: 114904554220365688} - {fileID: 114904554220365688}
--- !u!114 &114987963891140428 --- !u!114 &114987963891140428
MonoBehaviour: MonoBehaviour:
m_ObjectHideFlags: 1 m_ObjectHideFlags: 2
m_PrefabParentObject: {fileID: 0} m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000} m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1380797001910276} m_GameObject: {fileID: 1380797001910276}
@ -651,7 +615,7 @@ MonoBehaviour:
value: 6 value: 6
--- !u!114 &114994441961358866 --- !u!114 &114994441961358866
MonoBehaviour: MonoBehaviour:
m_ObjectHideFlags: 1 m_ObjectHideFlags: 2
m_PrefabParentObject: {fileID: 0} m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000} m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1380797001910276} m_GameObject: {fileID: 1380797001910276}
@ -665,7 +629,7 @@ MonoBehaviour:
value: 0 value: 0
--- !u!212 &212653995144694442 --- !u!212 &212653995144694442
SpriteRenderer: SpriteRenderer:
m_ObjectHideFlags: 1 m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0} m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000} m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1380797001910276} m_GameObject: {fileID: 1380797001910276}

12
Assets/FungusExamples/Playground/Prefabs/Enemy.prefab

@ -49,7 +49,7 @@ GameObject:
m_IsActive: 1 m_IsActive: 1
--- !u!4 &4729075542556854 --- !u!4 &4729075542556854
Transform: Transform:
m_ObjectHideFlags: 1 m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0} m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000} m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1292638556747252} m_GameObject: {fileID: 1292638556747252}
@ -63,7 +63,7 @@ Transform:
--- !u!50 &50984474618864754 --- !u!50 &50984474618864754
Rigidbody2D: Rigidbody2D:
serializedVersion: 4 serializedVersion: 4
m_ObjectHideFlags: 1 m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0} m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000} m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1292638556747252} m_GameObject: {fileID: 1292638556747252}
@ -82,7 +82,7 @@ Rigidbody2D:
m_Constraints: 0 m_Constraints: 0
--- !u!61 &61443573752364678 --- !u!61 &61443573752364678
BoxCollider2D: BoxCollider2D:
m_ObjectHideFlags: 1 m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0} m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000} m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1292638556747252} m_GameObject: {fileID: 1292638556747252}
@ -238,7 +238,7 @@ MonoBehaviour:
targetGameObjectOLD: {fileID: 0} targetGameObjectOLD: {fileID: 0}
--- !u!114 &114478123438267686 --- !u!114 &114478123438267686
MonoBehaviour: MonoBehaviour:
m_ObjectHideFlags: 1 m_ObjectHideFlags: 2
m_PrefabParentObject: {fileID: 0} m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000} m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1292638556747252} m_GameObject: {fileID: 1292638556747252}
@ -293,7 +293,7 @@ MonoBehaviour:
spawnRotationOLD: {x: 0, y: 0, z: 0} spawnRotationOLD: {x: 0, y: 0, z: 0}
--- !u!114 &114619489782507194 --- !u!114 &114619489782507194
MonoBehaviour: MonoBehaviour:
m_ObjectHideFlags: 1 m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0} m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000} m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1292638556747252} m_GameObject: {fileID: 1292638556747252}
@ -500,7 +500,7 @@ MonoBehaviour:
- {fileID: 114643528736330088} - {fileID: 114643528736330088}
--- !u!212 &212968368228859608 --- !u!212 &212968368228859608
SpriteRenderer: SpriteRenderer:
m_ObjectHideFlags: 1 m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0} m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000} m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1292638556747252} m_GameObject: {fileID: 1292638556747252}

32
Assets/FungusExamples/Playground/Prefabs/Laser.prefab

@ -72,7 +72,7 @@ Transform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!4 &4591436351563906 --- !u!4 &4591436351563906
Transform: Transform:
m_ObjectHideFlags: 1 m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0} m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000} m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1942691996823588} m_GameObject: {fileID: 1942691996823588}
@ -87,7 +87,7 @@ Transform:
--- !u!50 &50266752063846120 --- !u!50 &50266752063846120
Rigidbody2D: Rigidbody2D:
serializedVersion: 4 serializedVersion: 4
m_ObjectHideFlags: 1 m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0} m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000} m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1942691996823588} m_GameObject: {fileID: 1942691996823588}
@ -106,7 +106,7 @@ Rigidbody2D:
m_Constraints: 0 m_Constraints: 0
--- !u!60 &60745726664901920 --- !u!60 &60745726664901920
PolygonCollider2D: PolygonCollider2D:
m_ObjectHideFlags: 1 m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0} m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000} m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1942691996823588} m_GameObject: {fileID: 1942691996823588}
@ -276,7 +276,7 @@ TrailRenderer:
--- !u!96 &96390674517467256 --- !u!96 &96390674517467256
TrailRenderer: TrailRenderer:
serializedVersion: 2 serializedVersion: 2
m_ObjectHideFlags: 1 m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0} m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000} m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1942691996823588} m_GameObject: {fileID: 1942691996823588}
@ -366,7 +366,7 @@ TrailRenderer:
m_Autodestruct: 0 m_Autodestruct: 0
--- !u!114 &114182131449558960 --- !u!114 &114182131449558960
MonoBehaviour: MonoBehaviour:
m_ObjectHideFlags: 1 m_ObjectHideFlags: 2
m_PrefabParentObject: {fileID: 0} m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000} m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1942691996823588} m_GameObject: {fileID: 1942691996823588}
@ -391,7 +391,7 @@ MonoBehaviour:
- {fileID: 114299940920854140} - {fileID: 114299940920854140}
--- !u!114 &114216864803211772 --- !u!114 &114216864803211772
MonoBehaviour: MonoBehaviour:
m_ObjectHideFlags: 1 m_ObjectHideFlags: 2
m_PrefabParentObject: {fileID: 0} m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000} m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1942691996823588} m_GameObject: {fileID: 1942691996823588}
@ -405,7 +405,7 @@ MonoBehaviour:
value: {fileID: 50266752063846120} value: {fileID: 50266752063846120}
--- !u!114 &114250531415154764 --- !u!114 &114250531415154764
MonoBehaviour: MonoBehaviour:
m_ObjectHideFlags: 1 m_ObjectHideFlags: 2
m_PrefabParentObject: {fileID: 0} m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000} m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1942691996823588} m_GameObject: {fileID: 1942691996823588}
@ -420,7 +420,7 @@ MonoBehaviour:
FireOn: 1 FireOn: 1
--- !u!114 &114299940920854140 --- !u!114 &114299940920854140
MonoBehaviour: MonoBehaviour:
m_ObjectHideFlags: 1 m_ObjectHideFlags: 2
m_PrefabParentObject: {fileID: 0} m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000} m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1942691996823588} m_GameObject: {fileID: 1942691996823588}
@ -438,7 +438,7 @@ MonoBehaviour:
messageOLD: messageOLD:
--- !u!114 &114455382144078078 --- !u!114 &114455382144078078
MonoBehaviour: MonoBehaviour:
m_ObjectHideFlags: 1 m_ObjectHideFlags: 2
m_PrefabParentObject: {fileID: 0} m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000} m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1942691996823588} m_GameObject: {fileID: 1942691996823588}
@ -452,7 +452,7 @@ MonoBehaviour:
value: 3 value: 3
--- !u!114 &114487163524766562 --- !u!114 &114487163524766562
MonoBehaviour: MonoBehaviour:
m_ObjectHideFlags: 1 m_ObjectHideFlags: 2
m_PrefabParentObject: {fileID: 0} m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000} m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1942691996823588} m_GameObject: {fileID: 1942691996823588}
@ -479,7 +479,7 @@ MonoBehaviour:
vector2Val: {x: 0, y: 0} vector2Val: {x: 0, y: 0}
--- !u!114 &114526636883379746 --- !u!114 &114526636883379746
MonoBehaviour: MonoBehaviour:
m_ObjectHideFlags: 1 m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0} m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000} m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1942691996823588} m_GameObject: {fileID: 1942691996823588}
@ -518,7 +518,7 @@ MonoBehaviour:
luaBindingName: flowchart luaBindingName: flowchart
--- !u!114 &114593477394275294 --- !u!114 &114593477394275294
MonoBehaviour: MonoBehaviour:
m_ObjectHideFlags: 1 m_ObjectHideFlags: 2
m_PrefabParentObject: {fileID: 0} m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000} m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1942691996823588} m_GameObject: {fileID: 1942691996823588}
@ -544,7 +544,7 @@ MonoBehaviour:
- {fileID: 114751314740007556} - {fileID: 114751314740007556}
--- !u!114 &114602407226986924 --- !u!114 &114602407226986924
MonoBehaviour: MonoBehaviour:
m_ObjectHideFlags: 1 m_ObjectHideFlags: 2
m_PrefabParentObject: {fileID: 0} m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000} m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1942691996823588} m_GameObject: {fileID: 1942691996823588}
@ -557,7 +557,7 @@ MonoBehaviour:
waitForFrames: 1 waitForFrames: 1
--- !u!114 &114751314740007556 --- !u!114 &114751314740007556
MonoBehaviour: MonoBehaviour:
m_ObjectHideFlags: 1 m_ObjectHideFlags: 2
m_PrefabParentObject: {fileID: 0} m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000} m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1942691996823588} m_GameObject: {fileID: 1942691996823588}
@ -577,7 +577,7 @@ MonoBehaviour:
targetGameObjectOLD: {fileID: 0} targetGameObjectOLD: {fileID: 0}
--- !u!114 &114979932131573080 --- !u!114 &114979932131573080
MonoBehaviour: MonoBehaviour:
m_ObjectHideFlags: 1 m_ObjectHideFlags: 2
m_PrefabParentObject: {fileID: 0} m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000} m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1942691996823588} m_GameObject: {fileID: 1942691996823588}
@ -591,7 +591,7 @@ MonoBehaviour:
value: {x: 0, y: 10} value: {x: 0, y: 10}
--- !u!212 &212200396344711462 --- !u!212 &212200396344711462
SpriteRenderer: SpriteRenderer:
m_ObjectHideFlags: 1 m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0} m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000} m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1942691996823588} m_GameObject: {fileID: 1942691996823588}

14
Assets/FungusExamples/Playground/Prefabs/LeftGoal.prefab

@ -34,7 +34,7 @@ GameObject:
m_IsActive: 1 m_IsActive: 1
--- !u!4 &4678101578738422 --- !u!4 &4678101578738422
Transform: Transform:
m_ObjectHideFlags: 1 m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0} m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000} m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1846694562102150} m_GameObject: {fileID: 1846694562102150}
@ -47,7 +47,7 @@ Transform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!61 &61864220351951950 --- !u!61 &61864220351951950
BoxCollider2D: BoxCollider2D:
m_ObjectHideFlags: 1 m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0} m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000} m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1846694562102150} m_GameObject: {fileID: 1846694562102150}
@ -72,7 +72,7 @@ BoxCollider2D:
m_EdgeRadius: 0 m_EdgeRadius: 0
--- !u!114 &114034257819947328 --- !u!114 &114034257819947328
MonoBehaviour: MonoBehaviour:
m_ObjectHideFlags: 1 m_ObjectHideFlags: 2
m_PrefabParentObject: {fileID: 0} m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000} m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1846694562102150} m_GameObject: {fileID: 1846694562102150}
@ -90,7 +90,7 @@ MonoBehaviour:
messageOLD: messageOLD:
--- !u!114 &114505441869896354 --- !u!114 &114505441869896354
MonoBehaviour: MonoBehaviour:
m_ObjectHideFlags: 1 m_ObjectHideFlags: 2
m_PrefabParentObject: {fileID: 0} m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000} m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1846694562102150} m_GameObject: {fileID: 1846694562102150}
@ -105,7 +105,7 @@ MonoBehaviour:
FireOn: 1 FireOn: 1
--- !u!114 &114534288108544306 --- !u!114 &114534288108544306
MonoBehaviour: MonoBehaviour:
m_ObjectHideFlags: 1 m_ObjectHideFlags: 2
m_PrefabParentObject: {fileID: 0} m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000} m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1846694562102150} m_GameObject: {fileID: 1846694562102150}
@ -130,7 +130,7 @@ MonoBehaviour:
- {fileID: 114034257819947328} - {fileID: 114034257819947328}
--- !u!114 &114600625297110402 --- !u!114 &114600625297110402
MonoBehaviour: MonoBehaviour:
m_ObjectHideFlags: 1 m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0} m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000} m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1846694562102150} m_GameObject: {fileID: 1846694562102150}
@ -166,7 +166,7 @@ MonoBehaviour:
luaBindingName: flowchart luaBindingName: flowchart
--- !u!212 &212708722285412346 --- !u!212 &212708722285412346
SpriteRenderer: SpriteRenderer:
m_ObjectHideFlags: 1 m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0} m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000} m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1846694562102150} m_GameObject: {fileID: 1846694562102150}

42
Assets/FungusExamples/Playground/Prefabs/P1.prefab

@ -48,7 +48,7 @@ GameObject:
m_IsActive: 1 m_IsActive: 1
--- !u!4 &4164059856041556 --- !u!4 &4164059856041556
Transform: Transform:
m_ObjectHideFlags: 1 m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0} m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000} m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1404956649453682} m_GameObject: {fileID: 1404956649453682}
@ -62,7 +62,7 @@ Transform:
--- !u!50 &50485926042586766 --- !u!50 &50485926042586766
Rigidbody2D: Rigidbody2D:
serializedVersion: 4 serializedVersion: 4
m_ObjectHideFlags: 1 m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0} m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000} m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1404956649453682} m_GameObject: {fileID: 1404956649453682}
@ -81,7 +81,7 @@ Rigidbody2D:
m_Constraints: 4 m_Constraints: 4
--- !u!58 &58545323045532278 --- !u!58 &58545323045532278
CircleCollider2D: CircleCollider2D:
m_ObjectHideFlags: 1 m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0} m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000} m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1404956649453682} m_GameObject: {fileID: 1404956649453682}
@ -96,7 +96,7 @@ CircleCollider2D:
m_Radius: 0.5 m_Radius: 0.5
--- !u!114 &114024079056778752 --- !u!114 &114024079056778752
MonoBehaviour: MonoBehaviour:
m_ObjectHideFlags: 1 m_ObjectHideFlags: 2
m_PrefabParentObject: {fileID: 0} m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000} m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1404956649453682} m_GameObject: {fileID: 1404956649453682}
@ -110,7 +110,7 @@ MonoBehaviour:
value: 0 value: 0
--- !u!114 &114081283549603066 --- !u!114 &114081283549603066
MonoBehaviour: MonoBehaviour:
m_ObjectHideFlags: 1 m_ObjectHideFlags: 2
m_PrefabParentObject: {fileID: 0} m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000} m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1404956649453682} m_GameObject: {fileID: 1404956649453682}
@ -133,7 +133,7 @@ MonoBehaviour:
operation: 2 operation: 2
--- !u!114 &114085027684436294 --- !u!114 &114085027684436294
MonoBehaviour: MonoBehaviour:
m_ObjectHideFlags: 1 m_ObjectHideFlags: 2
m_PrefabParentObject: {fileID: 0} m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000} m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1404956649453682} m_GameObject: {fileID: 1404956649453682}
@ -159,7 +159,7 @@ MonoBehaviour:
floatVal: 0 floatVal: 0
--- !u!114 &114126325013622294 --- !u!114 &114126325013622294
MonoBehaviour: MonoBehaviour:
m_ObjectHideFlags: 1 m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0} m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000} m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1404956649453682} m_GameObject: {fileID: 1404956649453682}
@ -202,7 +202,7 @@ MonoBehaviour:
luaBindingName: flowchart luaBindingName: flowchart
--- !u!114 &114177047531498962 --- !u!114 &114177047531498962
MonoBehaviour: MonoBehaviour:
m_ObjectHideFlags: 1 m_ObjectHideFlags: 2
m_PrefabParentObject: {fileID: 0} m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000} m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1404956649453682} m_GameObject: {fileID: 1404956649453682}
@ -234,7 +234,7 @@ MonoBehaviour:
- {fileID: 114334667391765546} - {fileID: 114334667391765546}
--- !u!114 &114188004173552184 --- !u!114 &114188004173552184
MonoBehaviour: MonoBehaviour:
m_ObjectHideFlags: 1 m_ObjectHideFlags: 2
m_PrefabParentObject: {fileID: 0} m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000} m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1404956649453682} m_GameObject: {fileID: 1404956649453682}
@ -248,7 +248,7 @@ MonoBehaviour:
value: 0 value: 0
--- !u!114 &114201986544531680 --- !u!114 &114201986544531680
MonoBehaviour: MonoBehaviour:
m_ObjectHideFlags: 1 m_ObjectHideFlags: 2
m_PrefabParentObject: {fileID: 0} m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000} m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1404956649453682} m_GameObject: {fileID: 1404956649453682}
@ -261,7 +261,7 @@ MonoBehaviour:
FireOn: 2 FireOn: 2
--- !u!114 &114314477038342724 --- !u!114 &114314477038342724
MonoBehaviour: MonoBehaviour:
m_ObjectHideFlags: 1 m_ObjectHideFlags: 2
m_PrefabParentObject: {fileID: 0} m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000} m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1404956649453682} m_GameObject: {fileID: 1404956649453682}
@ -281,7 +281,7 @@ MonoBehaviour:
floatVal: 0 floatVal: 0
--- !u!114 &114326212544484044 --- !u!114 &114326212544484044
MonoBehaviour: MonoBehaviour:
m_ObjectHideFlags: 1 m_ObjectHideFlags: 2
m_PrefabParentObject: {fileID: 0} m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000} m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1404956649453682} m_GameObject: {fileID: 1404956649453682}
@ -295,7 +295,7 @@ MonoBehaviour:
value: {x: 0, y: 0, z: 0} value: {x: 0, y: 0, z: 0}
--- !u!114 &114334667391765546 --- !u!114 &114334667391765546
MonoBehaviour: MonoBehaviour:
m_ObjectHideFlags: 1 m_ObjectHideFlags: 2
m_PrefabParentObject: {fileID: 0} m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000} m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1404956649453682} m_GameObject: {fileID: 1404956649453682}
@ -322,7 +322,7 @@ MonoBehaviour:
vector2Val: {x: 0, y: 0} vector2Val: {x: 0, y: 0}
--- !u!114 &114337264207455518 --- !u!114 &114337264207455518
MonoBehaviour: MonoBehaviour:
m_ObjectHideFlags: 1 m_ObjectHideFlags: 2
m_PrefabParentObject: {fileID: 0} m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000} m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1404956649453682} m_GameObject: {fileID: 1404956649453682}
@ -342,7 +342,7 @@ MonoBehaviour:
floatVal: 0 floatVal: 0
--- !u!114 &114348338108346498 --- !u!114 &114348338108346498
MonoBehaviour: MonoBehaviour:
m_ObjectHideFlags: 1 m_ObjectHideFlags: 2
m_PrefabParentObject: {fileID: 0} m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000} m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1404956649453682} m_GameObject: {fileID: 1404956649453682}
@ -356,7 +356,7 @@ MonoBehaviour:
value: {x: 0, y: 0} value: {x: 0, y: 0}
--- !u!114 &114409838832793244 --- !u!114 &114409838832793244
MonoBehaviour: MonoBehaviour:
m_ObjectHideFlags: 1 m_ObjectHideFlags: 2
m_PrefabParentObject: {fileID: 0} m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000} m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1404956649453682} m_GameObject: {fileID: 1404956649453682}
@ -375,7 +375,7 @@ MonoBehaviour:
vector3Val: {x: 0, y: 0, z: 0} vector3Val: {x: 0, y: 0, z: 0}
--- !u!114 &114465925968467040 --- !u!114 &114465925968467040
MonoBehaviour: MonoBehaviour:
m_ObjectHideFlags: 1 m_ObjectHideFlags: 2
m_PrefabParentObject: {fileID: 0} m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000} m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1404956649453682} m_GameObject: {fileID: 1404956649453682}
@ -394,7 +394,7 @@ MonoBehaviour:
vector2Val: {x: 0, y: 0} vector2Val: {x: 0, y: 0}
--- !u!114 &114573728990135962 --- !u!114 &114573728990135962
MonoBehaviour: MonoBehaviour:
m_ObjectHideFlags: 1 m_ObjectHideFlags: 2
m_PrefabParentObject: {fileID: 0} m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000} m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1404956649453682} m_GameObject: {fileID: 1404956649453682}
@ -408,7 +408,7 @@ MonoBehaviour:
value: 60 value: 60
--- !u!114 &114777688141419168 --- !u!114 &114777688141419168
MonoBehaviour: MonoBehaviour:
m_ObjectHideFlags: 1 m_ObjectHideFlags: 2
m_PrefabParentObject: {fileID: 0} m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000} m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1404956649453682} m_GameObject: {fileID: 1404956649453682}
@ -422,7 +422,7 @@ MonoBehaviour:
value: {x: 0, y: 0, z: 0} value: {x: 0, y: 0, z: 0}
--- !u!114 &114862459103620794 --- !u!114 &114862459103620794
MonoBehaviour: MonoBehaviour:
m_ObjectHideFlags: 1 m_ObjectHideFlags: 2
m_PrefabParentObject: {fileID: 0} m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000} m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1404956649453682} m_GameObject: {fileID: 1404956649453682}
@ -448,7 +448,7 @@ MonoBehaviour:
floatVal: 0 floatVal: 0
--- !u!212 &212462972284088668 --- !u!212 &212462972284088668
SpriteRenderer: SpriteRenderer:
m_ObjectHideFlags: 1 m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0} m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000} m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1404956649453682} m_GameObject: {fileID: 1404956649453682}

63
Assets/FungusExamples/Playground/Prefabs/Spawner.prefab

@ -31,7 +31,6 @@ GameObject:
- component: {fileID: 114205508981943572} - component: {fileID: 114205508981943572}
- component: {fileID: 114451434740700826} - component: {fileID: 114451434740700826}
- component: {fileID: 114158483713016934} - component: {fileID: 114158483713016934}
- component: {fileID: 114170397803954806}
- component: {fileID: 114708947738974764} - component: {fileID: 114708947738974764}
- component: {fileID: 114536672983551206} - component: {fileID: 114536672983551206}
m_Layer: 0 m_Layer: 0
@ -43,7 +42,7 @@ GameObject:
m_IsActive: 1 m_IsActive: 1
--- !u!4 &4839343606506310 --- !u!4 &4839343606506310
Transform: Transform:
m_ObjectHideFlags: 1 m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0} m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000} m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1643320542487702} m_GameObject: {fileID: 1643320542487702}
@ -56,7 +55,7 @@ Transform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &114094183539183980 --- !u!114 &114094183539183980
MonoBehaviour: MonoBehaviour:
m_ObjectHideFlags: 1 m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0} m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000} m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1643320542487702} m_GameObject: {fileID: 1643320542487702}
@ -98,7 +97,7 @@ MonoBehaviour:
luaBindingName: flowchart luaBindingName: flowchart
--- !u!114 &114158188752211888 --- !u!114 &114158188752211888
MonoBehaviour: MonoBehaviour:
m_ObjectHideFlags: 1 m_ObjectHideFlags: 2
m_PrefabParentObject: {fileID: 0} m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000} m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1643320542487702} m_GameObject: {fileID: 1643320542487702}
@ -124,13 +123,12 @@ MonoBehaviour:
- {fileID: 114222629582179790} - {fileID: 114222629582179790}
- {fileID: 114186534075702092} - {fileID: 114186534075702092}
- {fileID: 114845356377412462} - {fileID: 114845356377412462}
- {fileID: 114170397803954806}
- {fileID: 114536672983551206} - {fileID: 114536672983551206}
- {fileID: 114533871774847328} - {fileID: 114533871774847328}
- {fileID: 114197543733484370} - {fileID: 114197543733484370}
--- !u!114 &114158483713016934 --- !u!114 &114158483713016934
MonoBehaviour: MonoBehaviour:
m_ObjectHideFlags: 1 m_ObjectHideFlags: 2
m_PrefabParentObject: {fileID: 0} m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000} m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1643320542487702} m_GameObject: {fileID: 1643320542487702}
@ -142,34 +140,9 @@ MonoBehaviour:
scope: 0 scope: 0
key: spawnPos key: spawnPos
value: {x: 0, y: 0, z: 0} 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 --- !u!114 &114186534075702092
MonoBehaviour: MonoBehaviour:
m_ObjectHideFlags: 1 m_ObjectHideFlags: 2
m_PrefabParentObject: {fileID: 0} m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000} m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1643320542487702} m_GameObject: {fileID: 1643320542487702}
@ -189,7 +162,7 @@ MonoBehaviour:
floatVal: 6 floatVal: 6
--- !u!114 &114197543733484370 --- !u!114 &114197543733484370
MonoBehaviour: MonoBehaviour:
m_ObjectHideFlags: 1 m_ObjectHideFlags: 2
m_PrefabParentObject: {fileID: 0} m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000} m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1643320542487702} m_GameObject: {fileID: 1643320542487702}
@ -206,7 +179,7 @@ MonoBehaviour:
targetLabelOLD: {fileID: 0} targetLabelOLD: {fileID: 0}
--- !u!114 &114205508981943572 --- !u!114 &114205508981943572
MonoBehaviour: MonoBehaviour:
m_ObjectHideFlags: 1 m_ObjectHideFlags: 2
m_PrefabParentObject: {fileID: 0} m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000} m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1643320542487702} m_GameObject: {fileID: 1643320542487702}
@ -220,7 +193,7 @@ MonoBehaviour:
value: 0 value: 0
--- !u!114 &114220456410977536 --- !u!114 &114220456410977536
MonoBehaviour: MonoBehaviour:
m_ObjectHideFlags: 1 m_ObjectHideFlags: 2
m_PrefabParentObject: {fileID: 0} m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000} m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1643320542487702} m_GameObject: {fileID: 1643320542487702}
@ -234,7 +207,7 @@ MonoBehaviour:
key: start key: start
--- !u!114 &114222629582179790 --- !u!114 &114222629582179790
MonoBehaviour: MonoBehaviour:
m_ObjectHideFlags: 1 m_ObjectHideFlags: 2
m_PrefabParentObject: {fileID: 0} m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000} m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1643320542487702} m_GameObject: {fileID: 1643320542487702}
@ -251,7 +224,7 @@ MonoBehaviour:
durationOLD: 0 durationOLD: 0
--- !u!114 &114271269415529472 --- !u!114 &114271269415529472
MonoBehaviour: MonoBehaviour:
m_ObjectHideFlags: 1 m_ObjectHideFlags: 2
m_PrefabParentObject: {fileID: 0} m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000} m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1643320542487702} m_GameObject: {fileID: 1643320542487702}
@ -264,7 +237,7 @@ MonoBehaviour:
waitForFrames: 1 waitForFrames: 1
--- !u!114 &114451434740700826 --- !u!114 &114451434740700826
MonoBehaviour: MonoBehaviour:
m_ObjectHideFlags: 1 m_ObjectHideFlags: 2
m_PrefabParentObject: {fileID: 0} m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000} m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1643320542487702} m_GameObject: {fileID: 1643320542487702}
@ -278,7 +251,7 @@ MonoBehaviour:
value: 0 value: 0
--- !u!114 &114533871774847328 --- !u!114 &114533871774847328
MonoBehaviour: MonoBehaviour:
m_ObjectHideFlags: 1 m_ObjectHideFlags: 2
m_PrefabParentObject: {fileID: 0} m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000} m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1643320542487702} m_GameObject: {fileID: 1643320542487702}
@ -296,19 +269,25 @@ MonoBehaviour:
_parentTransform: _parentTransform:
transformRef: {fileID: 0} transformRef: {fileID: 0}
transformVal: {fileID: 0} transformVal: {fileID: 0}
_spawnAtSelf:
booleanRef: {fileID: 0}
booleanVal: 0
_spawnPosition: _spawnPosition:
vector3Ref: {fileID: 114158483713016934} vector3Ref: {fileID: 114158483713016934}
vector3Val: {x: 0, y: 0, z: 0} vector3Val: {x: 0, y: 0, z: 0}
_spawnRotation: _spawnRotation:
vector3Ref: {fileID: 0} vector3Ref: {fileID: 0}
vector3Val: {x: 0, y: 0, z: 0} vector3Val: {x: 0, y: 0, z: 0}
_newlySpawnedObject:
gameObjectRef: {fileID: 0}
gameObjectVal: {fileID: 0}
sourceObjectOLD: {fileID: 0} sourceObjectOLD: {fileID: 0}
parentTransformOLD: {fileID: 0} parentTransformOLD: {fileID: 0}
spawnPositionOLD: {x: 0, y: 0, z: 0} spawnPositionOLD: {x: 0, y: 0, z: 0}
spawnRotationOLD: {x: 0, y: 0, z: 0} spawnRotationOLD: {x: 0, y: 0, z: 0}
--- !u!114 &114536672983551206 --- !u!114 &114536672983551206
MonoBehaviour: MonoBehaviour:
m_ObjectHideFlags: 1 m_ObjectHideFlags: 2
m_PrefabParentObject: {fileID: 0} m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000} m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1643320542487702} m_GameObject: {fileID: 1643320542487702}
@ -331,7 +310,7 @@ MonoBehaviour:
operation: 0 operation: 0
--- !u!114 &114708947738974764 --- !u!114 &114708947738974764
MonoBehaviour: MonoBehaviour:
m_ObjectHideFlags: 1 m_ObjectHideFlags: 2
m_PrefabParentObject: {fileID: 0} m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000} m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1643320542487702} m_GameObject: {fileID: 1643320542487702}
@ -345,7 +324,7 @@ MonoBehaviour:
value: {x: 0, y: 6, z: 0} value: {x: 0, y: 6, z: 0}
--- !u!114 &114845356377412462 --- !u!114 &114845356377412462
MonoBehaviour: MonoBehaviour:
m_ObjectHideFlags: 1 m_ObjectHideFlags: 2
m_PrefabParentObject: {fileID: 0} m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 100100000} m_PrefabInternal: {fileID: 100100000}
m_GameObject: {fileID: 1643320542487702} m_GameObject: {fileID: 1643320542487702}

Loading…
Cancel
Save