void Awake() { _instance = this; Nav = null; F2_Nav = new List <NavMeshAgent>(); C_Nav = new List <NavMeshAgent>(); L_Nav = new List <NavMeshAgent>(); C_GOC = new List <GameObjectController>(); }
/// <summary> /// ProtocolItem 객체를 추가 /// </summary> /// <param name="nBufferSize"></param> /// <param name="bUsing"></param> /// <param name="CheckFunc"></param> /// <param name="CatchFunc"></param> /// <returns></returns> public bool AddProtocolItem(int nBufferSize, bool bUsing, CheckFunction CheckFunc, CatchFunction CatchFunc) { ProtocolItem pI = new ProtocolItem(); pI.Queue.SetSize(nBufferSize); pI.Using = bUsing; pI.OnCheck = CheckFunc; pI.OnCatch = CatchFunc; this.m_ProtocolItems.Add(pI); return(true); }