// Start is called before the first frame update void Start() { rigidbody = GetComponent <Rigidbody2D>(); downRotation = Quaternion.Euler(0, 0, -50); forwardRotation = Quaternion.Euler(0, 0, 40); transform.position = startPos; game = FlappyBirdGameManager.Instance; rigidbody.simulated = false; }
private void Start() { game = FlappyBirdGameManager.Instance; }
private void Awake() { Instance = this; }