using System.Collections; using System.Collections.Generic; using UnityEngine; public class ManagersMode : MonoBehaviour { private static PollManager _pool; public static PollManager Poll { get { return _pool; } } private void Awake() { _pool = this.gameObject.AddComponent(); } }