public void Release()
        {
            if (roadModel != null)
            {
                roadModel.Release();
            }

            if (entityModel != null)
            {
                entityModel.Release();
            }

            //if (animalEntityModel != null)
            //{
            //    animalEntityModel.Release();
            //}

            //if (animalModel != null)
            //{
            //    animalModel.Release();
            //}

            if (animalTeamModel != null)
            {
                animalTeamModel.Release();
            }
        }
示例#2
0
        public void Release()
        {
            if (roadModel != null)
            {
                roadModel.Release();
            }

            if (entityModel != null)
            {
                entityModel.Release();
            }

            if (animalTeamModel != null)
            {
                animalTeamModel.Release();
            }
        }