using System.Collections.Generic; using UnityEngine; namespace Unity.FPS.Game { public class ActorsManager : MonoBehaviour { public List Actors { get; private set; } public GameObject Player { get; private set; } public void SetPlayer(GameObject player) => Player = player; void Awake() { Actors = new List(); } } }