// Start is called before the first frame update void Start() { moveBall = ball.GetComponent <MoveBall>(); moveBallRigidbody = ball.GetComponent <Rigidbody2D>(); animateTrump1 = player1.GetComponent <AnimateTrump>(); animateTrump2 = player2.GetComponent <AnimateTrump>(); }
void Start() { animateTrump = player.GetComponent <AnimateTrump>(); globalScript = global.GetComponent <Global>(); }