add
This commit is contained in:
parent
2e749abee0
commit
8f8fe800d2
@ -2711,7 +2711,7 @@ MonoBehaviour:
|
|||||||
- {fileID: 21300000, guid: 2eef400844839c5449beeefe4f46e352, type: 3}
|
- {fileID: 21300000, guid: 2eef400844839c5449beeefe4f46e352, type: 3}
|
||||||
startingPoint: {fileID: 532751784}
|
startingPoint: {fileID: 532751784}
|
||||||
end: {fileID: 98816691}
|
end: {fileID: 98816691}
|
||||||
is_victory: 0
|
is_victory: 1
|
||||||
is_die: 0
|
is_die: 0
|
||||||
--- !u!61 &219934845
|
--- !u!61 &219934845
|
||||||
BoxCollider2D:
|
BoxCollider2D:
|
||||||
@ -5692,7 +5692,7 @@ MonoBehaviour:
|
|||||||
- {fileID: 21300000, guid: 2eef400844839c5449beeefe4f46e352, type: 3}
|
- {fileID: 21300000, guid: 2eef400844839c5449beeefe4f46e352, type: 3}
|
||||||
startingPoint: {fileID: 1966002263}
|
startingPoint: {fileID: 1966002263}
|
||||||
end: {fileID: 879993540}
|
end: {fileID: 879993540}
|
||||||
is_victory: 0
|
is_victory: 1
|
||||||
is_die: 0
|
is_die: 0
|
||||||
--- !u!61 &435022347
|
--- !u!61 &435022347
|
||||||
BoxCollider2D:
|
BoxCollider2D:
|
||||||
@ -6763,7 +6763,7 @@ MonoBehaviour:
|
|||||||
startingPoint: {fileID: 1363431408}
|
startingPoint: {fileID: 1363431408}
|
||||||
end: {fileID: 869027439}
|
end: {fileID: 869027439}
|
||||||
is_victory: 0
|
is_victory: 0
|
||||||
is_die: 1
|
is_die: 0
|
||||||
--- !u!61 &540447345
|
--- !u!61 &540447345
|
||||||
BoxCollider2D:
|
BoxCollider2D:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
@ -9838,7 +9838,7 @@ MonoBehaviour:
|
|||||||
- {fileID: 21300000, guid: 2eef400844839c5449beeefe4f46e352, type: 3}
|
- {fileID: 21300000, guid: 2eef400844839c5449beeefe4f46e352, type: 3}
|
||||||
startingPoint: {fileID: 1852265332}
|
startingPoint: {fileID: 1852265332}
|
||||||
end: {fileID: 130002006}
|
end: {fileID: 130002006}
|
||||||
is_victory: 0
|
is_victory: 1
|
||||||
is_die: 0
|
is_die: 0
|
||||||
--- !u!61 &890850302
|
--- !u!61 &890850302
|
||||||
BoxCollider2D:
|
BoxCollider2D:
|
||||||
@ -18615,7 +18615,7 @@ MonoBehaviour:
|
|||||||
- {fileID: 21300000, guid: 2eef400844839c5449beeefe4f46e352, type: 3}
|
- {fileID: 21300000, guid: 2eef400844839c5449beeefe4f46e352, type: 3}
|
||||||
startingPoint: {fileID: 1812578927}
|
startingPoint: {fileID: 1812578927}
|
||||||
end: {fileID: 1418546006}
|
end: {fileID: 1418546006}
|
||||||
is_victory: 0
|
is_victory: 1
|
||||||
is_die: 0
|
is_die: 0
|
||||||
--- !u!61 &1591901238
|
--- !u!61 &1591901238
|
||||||
BoxCollider2D:
|
BoxCollider2D:
|
||||||
@ -25096,5 +25096,9 @@ PrefabInstance:
|
|||||||
propertyPath: m_Name
|
propertyPath: m_Name
|
||||||
value: Image
|
value: Image
|
||||||
objectReference: {fileID: 0}
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 8641404947999652021, guid: c20fbee9c3d60534dbeedde52a1d46e1, type: 3}
|
||||||
|
propertyPath: mode
|
||||||
|
value: 1
|
||||||
|
objectReference: {fileID: 0}
|
||||||
m_RemovedComponents: []
|
m_RemovedComponents: []
|
||||||
m_SourcePrefab: {fileID: 100100000, guid: c20fbee9c3d60534dbeedde52a1d46e1, type: 3}
|
m_SourcePrefab: {fileID: 100100000, guid: c20fbee9c3d60534dbeedde52a1d46e1, type: 3}
|
||||||
|
@ -39,7 +39,8 @@ public class snailRider : MonoBehaviour
|
|||||||
}
|
}
|
||||||
void startMove()
|
void startMove()
|
||||||
{
|
{
|
||||||
palye.enabled = !is_die;
|
obj.SetActive(!is_die);
|
||||||
|
//palye.enabled = !is_die;
|
||||||
if (!is_die)
|
if (!is_die)
|
||||||
{
|
{
|
||||||
float suiji = 0;
|
float suiji = 0;
|
||||||
@ -56,8 +57,6 @@ public class snailRider : MonoBehaviour
|
|||||||
.Append(transform.DOMove(end.transform.position, 5f + suiji))
|
.Append(transform.DOMove(end.transform.position, 5f + suiji))
|
||||||
;
|
;
|
||||||
}
|
}
|
||||||
|
|
||||||
//+UnityEngine.Random.Range(-2f, 5.0f)
|
|
||||||
}
|
}
|
||||||
private void Update()
|
private void Update()
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user