19 lines
408 B
C#
19 lines
408 B
C#
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
namespace Unity.FPS.Game
|
|
{
|
|
public class ActorsManager : MonoBehaviour
|
|
{
|
|
public List<Actor> Actors { get; private set; }
|
|
public GameObject Player { get; private set; }
|
|
|
|
public void SetPlayer(GameObject player) => Player = player;
|
|
|
|
void Awake()
|
|
{
|
|
Actors = new List<Actor>();
|
|
}
|
|
}
|
|
}
|