Bro
This commit is contained in:
3 files changed
+3
-6
No files matched your search
@@ -368,8 +368,7 @@ public class AutoGamePlayer : MonoBehaviour {
|
|||||||
bird.GetComponent<RectTransform>().anchoredPosition = new UnityEngine.Vector3(0f, 64f, 0f);
|
bird.GetComponent<RectTransform>().anchoredPosition = new UnityEngine.Vector3(0f, 64f, 0f);
|
||||||
groundCollider.transform.position = new(0f, groundCollider.transform.position.y);
|
groundCollider.transform.position = new(0f, groundCollider.transform.position.y);
|
||||||
bird.transform.localScale = new UnityEngine.Vector3(1f, 1f, 1f);
|
bird.transform.localScale = new UnityEngine.Vector3(1f, 1f, 1f);
|
||||||
rb.gravityScale = 0f;
|
rb.linearVelocity = new();
|
||||||
rb.linearVelocity = UnityEngine.Vector2.zero;
|
|
||||||
score = 0;
|
score = 0;
|
||||||
boostLeft = 0f;
|
boostLeft = 0f;
|
||||||
slownessLeft = 0f;
|
slownessLeft = 0f;
|
||||||
|
|||||||
@@ -529,8 +529,7 @@ public class CustomGamePlayer : MonoBehaviour {
|
|||||||
bird.GetComponent<RectTransform>().anchoredPosition = new UnityEngine.Vector3(0f, 64f, 0f);
|
bird.GetComponent<RectTransform>().anchoredPosition = new UnityEngine.Vector3(0f, 64f, 0f);
|
||||||
groundCollider.transform.position = new(0f, groundCollider.transform.position.y);
|
groundCollider.transform.position = new(0f, groundCollider.transform.position.y);
|
||||||
bird.transform.localScale = new UnityEngine.Vector3(1f, 1f, 1f);
|
bird.transform.localScale = new UnityEngine.Vector3(1f, 1f, 1f);
|
||||||
rb.gravityScale = 0f;
|
rb.linearVelocity = new();
|
||||||
rb.linearVelocity = UnityEngine.Vector2.zero;
|
|
||||||
score = 0;
|
score = 0;
|
||||||
boostLeft = 0f;
|
boostLeft = 0f;
|
||||||
slownessLeft = 0f;
|
slownessLeft = 0f;
|
||||||
|
|||||||
@@ -316,8 +316,7 @@ public class GamePlayer : MonoBehaviour {
|
|||||||
bird.GetComponent<RectTransform>().anchoredPosition = new UnityEngine.Vector3(0f, 64f, 0f);
|
bird.GetComponent<RectTransform>().anchoredPosition = new UnityEngine.Vector3(0f, 64f, 0f);
|
||||||
groundCollider.transform.position = new(0f, groundCollider.transform.position.y);
|
groundCollider.transform.position = new(0f, groundCollider.transform.position.y);
|
||||||
bird.transform.localScale = new UnityEngine.Vector3(1f, 1f, 1f);
|
bird.transform.localScale = new UnityEngine.Vector3(1f, 1f, 1f);
|
||||||
rb.gravityScale = 0f;
|
rb.linearVelocity = new();
|
||||||
rb.linearVelocity = UnityEngine.Vector2.zero;
|
|
||||||
score = 0;
|
score = 0;
|
||||||
boostLeft = 0f;
|
boostLeft = 0f;
|
||||||
slownessLeft = 0f;
|
slownessLeft = 0f;
|
||||||
|
|||||||
Reference in new issue
Block a user