1
0
Fork 0

Revert Entity-spawn

This commit is contained in:
ALoTron 2018-04-21 16:18:16 +02:00
parent fc39fd726b
commit c23cbe44b9

View file

@ -17,8 +17,8 @@ public class Entity {
// spawns the entity
public void Spawn(Transform spawnPoint)
{
instance = GameObject.Instantiate (entityPrefab);
instance.transform = spawnPoint;
// instance = GameObject.Instantiate (entityPrefab);
// instance.transform = spawnPoint;
}
// kills the entity