public static Predicate <Collider> GetConditionByType(TypeEnterTriggerZone type)
 {
     switch (type)
     {
     case TypeEnterTriggerZone.Unit: return(ConditionsPredicates.ConditionsEnterPlayer);
     }
     return(null);
 }
    void Start()
    {
        TypeTriggerZone = m_TypeTriggerZone;
#if UNITY_EDITOR
        if (GetComponent <Collider>() == null)
        {
            Debug.LogError(GetType() + " error: " + typeof(Collider) + " is null");
        }
#endif
    }