Added despawning when out of bounds
This commit is contained in:
@@ -84,22 +84,22 @@ GameObject:
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 3605213539719865219}
|
||||
- component: {fileID: 1754222534141843334}
|
||||
- component: {fileID: 5645363082347469150}
|
||||
m_Layer: 0
|
||||
m_Name: TmpFruit
|
||||
m_Name: Fruit
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!4 &3605213539719865219
|
||||
Transform:
|
||||
--- !u!224 &3605213539719865219
|
||||
RectTransform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 8732739964968511634}
|
||||
serializedVersion: 2
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
@@ -108,6 +108,26 @@ Transform:
|
||||
- {fileID: 5459288295520796107}
|
||||
m_Father: {fileID: 0}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0.5, y: 0.5}
|
||||
m_AnchorMax: {x: 0.5, y: 0.5}
|
||||
m_AnchoredPosition: {x: 0, y: 0}
|
||||
m_SizeDelta: {x: 100, y: 100}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!114 &1754222534141843334
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 8732739964968511634}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: ed414fdac7005b54db4dc1ec26e16bd6, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
RectTransform: {fileID: 3605213539719865219}
|
||||
Body2D: {fileID: 5645363082347469150}
|
||||
AttachedCanvas: {fileID: 0}
|
||||
--- !u!50 &5645363082347469150
|
||||
Rigidbody2D:
|
||||
serializedVersion: 4
|
||||
Reference in New Issue
Block a user