//adapt brower
function refreshMainSize()
{
if(swfobject){
var swfobj = swfobject.getObjectById('Launch');
if(!swfobj){
swfobj = document.getElementById('Launch');
}
if(swfobj){
//判断最大的宽度,最小的宽度
if((document.documentElememt || document.body).clientWidth * (1-0.0)>1200){
swfobj.width=1200;
}else{
if((document.documentElememt || document.body).clientWidth * (1-0.0)720){
swfobj.height=720;
}else{
if((document.documentElememt || document.body).clientHeight * (1-0.0)
关注
打赏
热门博文
- 3D Assets (Textures & Model & Animations) & Game Design Ideas & DCC Tutorials & TA
- LearnGL - 学习笔记目录
- Unity - Timeline 知识汇总
- Unity Graphics - 知识点目录 - 停止翻译,因为发现官方有中文文档了
- Graphic资料
- Unity Lightmap&LightProbe局部动态加载(亲测2020以及以上版本官方修复了)
- Unity - 踩坑日志 - 低版本线性颜色空间渲染异常的 “BUG”
- Unity Shader - PBR 渲染 SP 导出的素材
- 什么是 3A 游戏?
- Photosohp - 实现 2D MetaBall、MetaFont