-Version: All
-Teleports all items on the map to you.
Code:if (GUILayout.Button("Test")) { Item[] itemArray = UnityEngine.Object.FindObjectsOfType(typeof(Item)) as Item[]; foreach (Item item in itemArray) { Transform teleportitems = item.transform; teleportitems.position = Camera.main.transform.position; } }
AlexGeoZz1 (08-03-2014),TheMaskedOne (08-03-2014)
-Version: All
-Teleports all zombies to you.
Code:if (GUILayout.Button("Test")) { Zombie[] zombieArray = UnityEngine.Object.FindObjectsOfType(typeof(Zombie)) as Zombie[]; foreach (Zombie zombie in zombieArray) { Transform teleportzombies = zombie.transform; teleportzombies.position = Camera.main.transform.position; } }
AlexGeoZz1 (08-03-2014)
I don't get it, Where is the steamworks DLL?
I see it in other games folders, but not in unturned...
If someone could release a GUI player list that would be nice, as i failed at making one.