Question by
furkan33 · Mar 27, 2020 at 10:26 PM ·
gameobjecttransformpositionrandom.range
Transform GameObject position with random range
void OnCollisionExit2D(Collision2D cube)
{
if (cube.gameObject.tag == "cube1")
{
ScoreScipt.score += 1;
}
}
y = y + Random.Range(-2,2) Hi i want to y of cube this way how can i do ?
Comment