private void Start() { gameManager = GetComponentInParent <MinigameManager>(); subscribeToEvents(); }
private void Start() { gameManager = GetComponentInParent <MinigameManager>(); rigidbody2d = GetComponent <Rigidbody2D>(); rigidbody2d.AddForce(StartForce, ForceMode2D.Impulse); }