needs per minute = NPM implementiert
This commit is contained in:
@ -18,7 +18,7 @@ public class DeveloperNeeds : MonoBehaviour
|
||||
|
||||
}
|
||||
|
||||
public void spawnNeed(string needName)
|
||||
public bool spawnNeed(string needName)
|
||||
{
|
||||
|
||||
GameObject spawnedNeed = null;
|
||||
@ -44,6 +44,8 @@ public class DeveloperNeeds : MonoBehaviour
|
||||
if (spawnedNeed != null)
|
||||
{
|
||||
spawnedNeed.transform.SetParent(transform, false);
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user