How to generate the non repeating random number to instantiate the game object (Trophy)?
private Vector2 GetTrophyClicked()
{
Vector3 WorldTop = Camera.main.ViewportToWorldPoint(new Vector3((float)0.1, (float)0.12, Camera.main.nearClipPlane));
Vector3 WorldBase = Camera.main.ViewportToWorldPoint(new Vector3((float)0.4, min, Camera.main.nearClipPlane));
Vector2 worldPos = new Vector2(Random.Range(WorldBase.x, WorldTop.x), Random.Range(WorldTop.y, WorldBase.y));
Vector2 gridPos = SnapToGrid(worldPos);
return gridPos;
}