This commit is contained in:
haitem 2021-01-31 16:29:34 +01:00
parent 3695ff634e
commit c09508323e
3 changed files with 16 additions and 6 deletions

View File

@ -5555,12 +5555,17 @@ PrefabInstance:
- target: {fileID: 7094923891560833916, guid: e4d82994b58b7304b91c915c597b71f8, - target: {fileID: 7094923891560833916, guid: e4d82994b58b7304b91c915c597b71f8,
type: 3} type: 3}
propertyPath: speed propertyPath: speed
value: 15 value: 5
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 7094923891560833916, guid: e4d82994b58b7304b91c915c597b71f8, - target: {fileID: 7094923891560833916, guid: e4d82994b58b7304b91c915c597b71f8,
type: 3} type: 3}
propertyPath: runSpeed propertyPath: runSpeed
value: 25 value: 10
objectReference: {fileID: 0}
- target: {fileID: 7094923891560833916, guid: e4d82994b58b7304b91c915c597b71f8,
type: 3}
propertyPath: dashPower
value: 30
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 7094923891560833916, guid: e4d82994b58b7304b91c915c597b71f8, - target: {fileID: 7094923891560833916, guid: e4d82994b58b7304b91c915c597b71f8,
type: 3} type: 3}

View File

@ -3117,12 +3117,17 @@ PrefabInstance:
- target: {fileID: 7094923891560833916, guid: e4d82994b58b7304b91c915c597b71f8, - target: {fileID: 7094923891560833916, guid: e4d82994b58b7304b91c915c597b71f8,
type: 3} type: 3}
propertyPath: speed propertyPath: speed
value: 15 value: 5
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 7094923891560833916, guid: e4d82994b58b7304b91c915c597b71f8, - target: {fileID: 7094923891560833916, guid: e4d82994b58b7304b91c915c597b71f8,
type: 3} type: 3}
propertyPath: runSpeed propertyPath: runSpeed
value: 25 value: 10
objectReference: {fileID: 0}
- target: {fileID: 7094923891560833916, guid: e4d82994b58b7304b91c915c597b71f8,
type: 3}
propertyPath: dashPower
value: 30
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 7094923891560833916, guid: e4d82994b58b7304b91c915c597b71f8, - target: {fileID: 7094923891560833916, guid: e4d82994b58b7304b91c915c597b71f8,
type: 3} type: 3}

View File

@ -35,7 +35,7 @@ public class MainMenu : MonoBehaviour
public void Score() public void Score()
{ {
StartCoroutine(GetText("dev.steelants.cz/GGJ2021/GeorgeJones/Server/api.php")); StartCoroutine(GetText("https://dev.steelants.cz/vasek/GGJ2021/GeorgeJones/Server/api.php"));
} }
public void BackToMainMenu() public void BackToMainMenu()
@ -60,7 +60,7 @@ public class MainMenu : MonoBehaviour
form.AddField("name", name.text); form.AddField("name", name.text);
form.AddField("score", DataManager.Score().ToString()); form.AddField("score", DataManager.Score().ToString());
StartCoroutine(PostText("dev.steelants.cz/vasek/GGJ2021/GeorgeJones/Server/api.php", form)); StartCoroutine(PostText("https://dev.steelants.cz/vasek/GGJ2021/GeorgeJones/Server/api.php", form));
DataManager.Level(0); DataManager.Level(0);
SceneManager.LoadScene(0); SceneManager.LoadScene(0);
} }