void Awake()
    {
        m_Instance     = this;
        LivingRedUnit  = new List <PlayerMove>();
        LivingBlueUnit = new List <PlayerMove>();

        LivingRedBuilding  = new List <BuildingStatus>();
        LivingBlueBuilding = new List <BuildingStatus>();

        AcceptableUnit = 10;
        StartCoroutine("SelectRoutine");
        //InvokeRepeating("SelectRoutine", 0f,0.01f);
        StartCoroutine("IsAliveRoutine");
    }
 void OnDestroy()
 {
     m_Instance = null;
     StopAllCoroutines();
 }