private void GenerateEntryBlock() { Transform transform = UICodeblock.GenerateEntryBlock().transform; transform.SetParent(Parent, false); transform.position = new Vector3(Screen.width * Random.value, Screen.height * Random.value); }