1
This commit is contained in:
16
unity/Assets/Script/Managers/ManagersMode.cs
Normal file
16
unity/Assets/Script/Managers/ManagersMode.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
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<PollManager>();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user