Revert Entity-spawn
This commit is contained in:
parent
fc39fd726b
commit
c23cbe44b9
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue