20 lines
509 B
C#
20 lines
509 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using Unity.Mathematics;
|
|
|
|
namespace BITFALL.Scene
|
|
{
|
|
public interface ISpawnPointService
|
|
{
|
|
public float4x4 RequestSpawnPoint(params object[] tags);
|
|
}
|
|
public abstract class SpawnPointServiceImplement : ISpawnPointService
|
|
{
|
|
protected abstract ISpawnPointService _spawnPointServiceImplementation { get; }
|
|
public float4x4 RequestSpawnPoint(params object[] tags)
|
|
{
|
|
return _spawnPointServiceImplementation.RequestSpawnPoint(tags);
|
|
}
|
|
}
|
|
}
|