first commit
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
using System.Collections;
|
||||
using NitroxModel.DataStructures.GameLogic.Entities;
|
||||
using NitroxModel.DataStructures.Util;
|
||||
using UnityEngine;
|
||||
|
||||
namespace NitroxClient.GameLogic.Spawning.WorldEntities
|
||||
{
|
||||
/**
|
||||
* Allows us to create custom entity spawners for different world entity types.
|
||||
*/
|
||||
public interface IWorldEntitySpawner
|
||||
{
|
||||
IEnumerator SpawnAsync(WorldEntity entity, Optional<GameObject> parent, EntityCell cellRoot, TaskResult<Optional<GameObject>> result);
|
||||
|
||||
bool SpawnsOwnChildren();
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user