예제 #1
0
        void CreatchatCooper(PeEntity centor, EQuadrant q, UnityEngine.Vector3 centorPos)
        {
            chatCooperation rest = new chatCooperation(UnityEngine.Random.Range(2, CSNpcTeam.Chat_member_Num + 1));

            rest.setCentor(centor, q, centorPos);
            mCooperationLists.Add(rest);
        }
예제 #2
0
 bool QuadrantHasCentor(EQuadrant q)
 {
     for (int i = 0; i < mCooperationLists.Count; i++)
     {
         chatCooperation ret = mCooperationLists[i] as chatCooperation;
         if (ret != null && ret.quadrant == q)
         {
             return(true);
         }
     }
     return(false);
 }