コード例 #1
0
        //---------------------------------------------------------------------
        void generateFormation(string particle_system_name)
        {
            int fish_begin_obj_id = getNextFishObjId(mBaseFishLordMgr.getCountOfParticleSystemEntity(particle_system_name));

            mBaseFishLordMgr.addParticleSystem(particle_system_name, new List <string>(), fish_begin_obj_id);
            mScene.getProtocol().s2allcCreateFishLord(particle_system_name, new List <string>(), fish_begin_obj_id);
        }
コード例 #2
0
ファイル: RenderLevel.cs プロジェクト: zhilianghuang/Fishing
 //-------------------------------------------------------------------------
 public void newFishLord(string lord_file_name, List <string> server_param, int fish_begin_id)
 {
     mBaseFishLordMgr.addParticleSystem(lord_file_name, server_param, fish_begin_id);
 }