add Stage.cs

This commit is contained in:
kimura 2022-07-28 11:46:28 +09:00
parent 98ce98d119
commit ad507689c3
6 changed files with 126 additions and 22 deletions

View File

@ -9,6 +9,7 @@ GameObject:
serializedVersion: 6
m_Component:
- component: {fileID: 2233378810729895866}
- component: {fileID: 8097957193021627606}
m_Layer: 0
m_Name: Stage1a
m_TagString: Untagged
@ -33,6 +34,20 @@ Transform:
m_Father: {fileID: 0}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &8097957193021627606
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5140115440945204540}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 3c6db6d25de0477999fc1b02c09563c0, type: 3}
m_Name:
m_EditorClassIdentifier:
startPos: {fileID: 4193759859366624240}
endPos: {fileID: 6653402502725990282}
--- !u!1001 &1956465928252795982
PrefabInstance:
m_ObjectHideFlags: 0
@ -107,6 +122,18 @@ PrefabInstance:
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 0522f5a9c22654ceca2b9ae04eecfac0, type: 3}
--- !u!4 &4193759859366624240 stripped
Transform:
m_CorrespondingSourceObject: {fileID: 2384085606314497982, guid: 0522f5a9c22654ceca2b9ae04eecfac0,
type: 3}
m_PrefabInstance: {fileID: 1956465928252795982}
m_PrefabAsset: {fileID: 0}
--- !u!4 &6653402502725990282 stripped
Transform:
m_CorrespondingSourceObject: {fileID: 5148565685416549316, guid: 0522f5a9c22654ceca2b9ae04eecfac0,
type: 3}
m_PrefabInstance: {fileID: 1956465928252795982}
m_PrefabAsset: {fileID: 0}
--- !u!4 &9198101237787776717 stripped
Transform:
m_CorrespondingSourceObject: {fileID: 7242064396380437123, guid: 0522f5a9c22654ceca2b9ae04eecfac0,
@ -125,6 +152,11 @@ PrefabInstance:
propertyPath: m_Name
value: StagePartsDemo 1
objectReference: {fileID: 0}
- target: {fileID: 4407668072659869701, guid: d7f874a116dd34513817307a8a98f17e,
type: 3}
propertyPath: m_IsActive
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6232900237470563236, guid: d7f874a116dd34513817307a8a98f17e,
type: 3}
propertyPath: m_IsActive

View File

@ -15,7 +15,7 @@ PrefabInstance:
- target: {fileID: 1691959517394185855, guid: dc3600eefd5374093819de1b4c04b6ae,
type: 3}
propertyPath: m_LocalPosition.x
value: 51.899994
value: 58.420002
objectReference: {fileID: 0}
- target: {fileID: 1691959517394185855, guid: dc3600eefd5374093819de1b4c04b6ae,
type: 3}
@ -134,7 +134,7 @@ PrefabInstance:
- target: {fileID: 7170547486884922313, guid: 9909b8ac6fba54dcd98d1a129a7c8c09,
type: 3}
propertyPath: m_LocalPosition.x
value: 33.679993
value: 40.2
objectReference: {fileID: 0}
- target: {fileID: 7170547486884922313, guid: 9909b8ac6fba54dcd98d1a129a7c8c09,
type: 3}
@ -198,7 +198,7 @@ PrefabInstance:
- target: {fileID: 3458920199869838226, guid: 3ba6d16d008f749e78832383e04dda6c,
type: 3}
propertyPath: m_LocalPosition.x
value: 35.499992
value: 42.02
objectReference: {fileID: 0}
- target: {fileID: 3458920199869838226, guid: 3ba6d16d008f749e78832383e04dda6c,
type: 3}
@ -272,7 +272,7 @@ PrefabInstance:
- target: {fileID: 6091183625377926242, guid: b82d5b841abe54f95aee9a8a5a023f6a,
type: 3}
propertyPath: m_LocalPosition.x
value: -4.400009
value: 2.119999
objectReference: {fileID: 0}
- target: {fileID: 6091183625377926242, guid: b82d5b841abe54f95aee9a8a5a023f6a,
type: 3}
@ -386,7 +386,7 @@ PrefabInstance:
- target: {fileID: 7170547486884922313, guid: 9909b8ac6fba54dcd98d1a129a7c8c09,
type: 3}
propertyPath: m_LocalPosition.x
value: 61.089996
value: 67.61
objectReference: {fileID: 0}
- target: {fileID: 7170547486884922313, guid: 9909b8ac6fba54dcd98d1a129a7c8c09,
type: 3}
@ -485,7 +485,7 @@ PrefabInstance:
- target: {fileID: 7170547486884922313, guid: 9909b8ac6fba54dcd98d1a129a7c8c09,
type: 3}
propertyPath: m_LocalPosition.x
value: -3.0000076
value: 3.5200005
objectReference: {fileID: 0}
- target: {fileID: 7170547486884922313, guid: 9909b8ac6fba54dcd98d1a129a7c8c09,
type: 3}
@ -584,7 +584,7 @@ PrefabInstance:
- target: {fileID: 7170547486884922313, guid: 9909b8ac6fba54dcd98d1a129a7c8c09,
type: 3}
propertyPath: m_LocalPosition.x
value: 39.59999
value: 46.12
objectReference: {fileID: 0}
- target: {fileID: 7170547486884922313, guid: 9909b8ac6fba54dcd98d1a129a7c8c09,
type: 3}
@ -703,7 +703,7 @@ PrefabInstance:
- target: {fileID: 7170547486884922313, guid: 9909b8ac6fba54dcd98d1a129a7c8c09,
type: 3}
propertyPath: m_LocalPosition.x
value: 13.099991
value: 19.619999
objectReference: {fileID: 0}
- target: {fileID: 7170547486884922313, guid: 9909b8ac6fba54dcd98d1a129a7c8c09,
type: 3}
@ -802,7 +802,7 @@ PrefabInstance:
- target: {fileID: 7170547486884922313, guid: 9909b8ac6fba54dcd98d1a129a7c8c09,
type: 3}
propertyPath: m_LocalPosition.x
value: 16.7
value: 23.220009
objectReference: {fileID: 0}
- target: {fileID: 7170547486884922313, guid: 9909b8ac6fba54dcd98d1a129a7c8c09,
type: 3}
@ -868,6 +868,11 @@ PrefabInstance:
m_Modification:
m_TransformParent: {fileID: 0}
m_Modifications:
- target: {fileID: 137577520071241756, guid: 4d9cf56629464933924296f3980217ce,
type: 3}
propertyPath: endPos
value:
objectReference: {fileID: 8971062469588893690}
- target: {fileID: 2233378810729895866, guid: 4d9cf56629464933924296f3980217ce,
type: 3}
propertyPath: m_RootOrder
@ -923,11 +928,21 @@ PrefabInstance:
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4399194635901482749, guid: 4d9cf56629464933924296f3980217ce,
type: 3}
propertyPath: m_RootOrder
value: 12
objectReference: {fileID: 0}
- target: {fileID: 5140115440945204540, guid: 4d9cf56629464933924296f3980217ce,
type: 3}
propertyPath: m_Name
value: StagePartsDemo 1
objectReference: {fileID: 0}
- target: {fileID: 6587513064769043079, guid: 4d9cf56629464933924296f3980217ce,
type: 3}
propertyPath: m_RootOrder
value: 11
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 4d9cf56629464933924296f3980217ce, type: 3}
--- !u!4 &7242064396380437123 stripped
@ -936,3 +951,9 @@ Transform:
type: 3}
m_PrefabInstance: {fileID: 8826620965987478841}
m_PrefabAsset: {fileID: 0}
--- !u!4 &8971062469588893690 stripped
Transform:
m_CorrespondingSourceObject: {fileID: 432882992430305987, guid: 4d9cf56629464933924296f3980217ce,
type: 3}
m_PrefabInstance: {fileID: 8826620965987478841}
m_PrefabAsset: {fileID: 0}

View File

@ -45,7 +45,7 @@ PrefabInstance:
- target: {fileID: 7170547486884922313, guid: 9909b8ac6fba54dcd98d1a129a7c8c09,
type: 3}
propertyPath: m_LocalPosition.x
value: 64.3
value: 73.79001
objectReference: {fileID: 0}
- target: {fileID: 7170547486884922313, guid: 9909b8ac6fba54dcd98d1a129a7c8c09,
type: 3}
@ -114,7 +114,7 @@ PrefabInstance:
- target: {fileID: 6091183625377926242, guid: b82d5b841abe54f95aee9a8a5a023f6a,
type: 3}
propertyPath: m_LocalPosition.x
value: 18.7
value: 28.190002
objectReference: {fileID: 0}
- target: {fileID: 6091183625377926242, guid: b82d5b841abe54f95aee9a8a5a023f6a,
type: 3}
@ -193,7 +193,7 @@ PrefabInstance:
- target: {fileID: 7170547486884922313, guid: 9909b8ac6fba54dcd98d1a129a7c8c09,
type: 3}
propertyPath: m_LocalPosition.x
value: 17.439999
value: 26.93
objectReference: {fileID: 0}
- target: {fileID: 7170547486884922313, guid: 9909b8ac6fba54dcd98d1a129a7c8c09,
type: 3}
@ -257,7 +257,7 @@ PrefabInstance:
- target: {fileID: 1691959517394185855, guid: ae1cc9a622fcf6d4fb54da4baa89eac8,
type: 3}
propertyPath: m_LocalPosition.x
value: 11.86
value: 21.350002
objectReference: {fileID: 0}
- target: {fileID: 1691959517394185855, guid: ae1cc9a622fcf6d4fb54da4baa89eac8,
type: 3}
@ -356,7 +356,7 @@ PrefabInstance:
- target: {fileID: 7170547486884922313, guid: 9909b8ac6fba54dcd98d1a129a7c8c09,
type: 3}
propertyPath: m_LocalPosition.x
value: -7.5
value: 1.9900017
objectReference: {fileID: 0}
- target: {fileID: 7170547486884922313, guid: 9909b8ac6fba54dcd98d1a129a7c8c09,
type: 3}
@ -435,7 +435,7 @@ PrefabInstance:
- target: {fileID: 7170547486884922313, guid: 9909b8ac6fba54dcd98d1a129a7c8c09,
type: 3}
propertyPath: m_LocalPosition.x
value: 31.7
value: 41.190002
objectReference: {fileID: 0}
- target: {fileID: 7170547486884922313, guid: 9909b8ac6fba54dcd98d1a129a7c8c09,
type: 3}
@ -504,7 +504,7 @@ PrefabInstance:
- target: {fileID: 6091183625377926242, guid: b82d5b841abe54f95aee9a8a5a023f6a,
type: 3}
propertyPath: m_LocalPosition.x
value: -3.42
value: 6.0700016
objectReference: {fileID: 0}
- target: {fileID: 6091183625377926242, guid: b82d5b841abe54f95aee9a8a5a023f6a,
type: 3}
@ -598,7 +598,7 @@ PrefabInstance:
- target: {fileID: 7170547486884922313, guid: 9909b8ac6fba54dcd98d1a129a7c8c09,
type: 3}
propertyPath: m_LocalPosition.x
value: 37.91
value: 47.4
objectReference: {fileID: 0}
- target: {fileID: 7170547486884922313, guid: 9909b8ac6fba54dcd98d1a129a7c8c09,
type: 3}
@ -667,7 +667,7 @@ PrefabInstance:
- target: {fileID: 1559618087867832073, guid: ba1b2ce02b6d94ff480b6d688878ce0a,
type: 3}
propertyPath: m_LocalPosition.x
value: 36.22
value: 45.710003
objectReference: {fileID: 0}
- target: {fileID: 1559618087867832073, guid: ba1b2ce02b6d94ff480b6d688878ce0a,
type: 3}
@ -761,7 +761,7 @@ PrefabInstance:
- target: {fileID: 7170547486884922313, guid: 9909b8ac6fba54dcd98d1a129a7c8c09,
type: 3}
propertyPath: m_LocalPosition.x
value: -2.08
value: 7.4100018
objectReference: {fileID: 0}
- target: {fileID: 7170547486884922313, guid: 9909b8ac6fba54dcd98d1a129a7c8c09,
type: 3}
@ -840,7 +840,7 @@ PrefabInstance:
- target: {fileID: 7170547486884922313, guid: 9909b8ac6fba54dcd98d1a129a7c8c09,
type: 3}
propertyPath: m_LocalPosition.x
value: 54.6
value: 64.09
objectReference: {fileID: 0}
- target: {fileID: 7170547486884922313, guid: 9909b8ac6fba54dcd98d1a129a7c8c09,
type: 3}
@ -904,7 +904,7 @@ PrefabInstance:
- target: {fileID: 1691959517394185855, guid: ae1cc9a622fcf6d4fb54da4baa89eac8,
type: 3}
propertyPath: m_LocalPosition.x
value: 43.2
value: 52.690002
objectReference: {fileID: 0}
- target: {fileID: 1691959517394185855, guid: ae1cc9a622fcf6d4fb54da4baa89eac8,
type: 3}
@ -965,6 +965,11 @@ PrefabInstance:
m_Modification:
m_TransformParent: {fileID: 0}
m_Modifications:
- target: {fileID: 137577520071241756, guid: 4d9cf56629464933924296f3980217ce,
type: 3}
propertyPath: endPos
value:
objectReference: {fileID: 8971062469588893690}
- target: {fileID: 2233378810729895866, guid: 4d9cf56629464933924296f3980217ce,
type: 3}
propertyPath: m_RootOrder
@ -1020,11 +1025,21 @@ PrefabInstance:
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4399194635901482749, guid: 4d9cf56629464933924296f3980217ce,
type: 3}
propertyPath: m_RootOrder
value: 16
objectReference: {fileID: 0}
- target: {fileID: 5140115440945204540, guid: 4d9cf56629464933924296f3980217ce,
type: 3}
propertyPath: m_Name
value: StagePartsDemo
objectReference: {fileID: 0}
- target: {fileID: 6587513064769043079, guid: 4d9cf56629464933924296f3980217ce,
type: 3}
propertyPath: m_RootOrder
value: 15
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 4d9cf56629464933924296f3980217ce, type: 3}
--- !u!4 &7242064396380437123 stripped
@ -1033,6 +1048,12 @@ Transform:
type: 3}
m_PrefabInstance: {fileID: 8826620965987478841}
m_PrefabAsset: {fileID: 0}
--- !u!4 &8971062469588893690 stripped
Transform:
m_CorrespondingSourceObject: {fileID: 432882992430305987, guid: 4d9cf56629464933924296f3980217ce,
type: 3}
m_PrefabInstance: {fileID: 8826620965987478841}
m_PrefabAsset: {fileID: 0}
--- !u!1001 &8930315615084621945
PrefabInstance:
m_ObjectHideFlags: 0
@ -1048,7 +1069,7 @@ PrefabInstance:
- target: {fileID: 3260976648670654504, guid: 650bc5479fb99c94a8a010bd449f9269,
type: 3}
propertyPath: m_LocalPosition.x
value: 3.6
value: 13.090002
objectReference: {fileID: 0}
- target: {fileID: 3260976648670654504, guid: 650bc5479fb99c94a8a010bd449f9269,
type: 3}

View File

@ -156,6 +156,7 @@ GameObject:
serializedVersion: 6
m_Component:
- component: {fileID: 2233378810729895866}
- component: {fileID: 137577520071241756}
m_Layer: 0
m_Name: StagePartsOriginal
m_TagString: Untagged
@ -182,6 +183,20 @@ Transform:
m_Father: {fileID: 0}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &137577520071241756
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5140115440945204540}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 3c6db6d25de0477999fc1b02c09563c0, type: 3}
m_Name:
m_EditorClassIdentifier:
startPos: {fileID: 6587513064769043079}
endPos: {fileID: 4399194635901482749}
--- !u!1 &6268971062157657973
GameObject:
m_ObjectHideFlags: 0

View File

@ -0,0 +1,12 @@
using UnityEngine;
namespace MyGame.Scenes.MiniGame.Scripts
{
public class Stage : MonoBehaviour
{
[SerializeField] private Transform startPos;
[SerializeField] private Transform endPos;
public float StartXPos => startPos.position.x;
public float EndPos => endPos.position.x;
}
}

View File

@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: 3c6db6d25de0477999fc1b02c09563c0
timeCreated: 1658975925