I have a random number generated, now i want that if that number is called i move my object a 2d sprite already in the screen to a different position on the screen. the code is this:
var randomInt = Random.Range(1, 1);
if (randomInt == 1)
{
Debug.Log(“object”);
here i want to insert something to move my object mind you this script is not in the game object im targeting