07 2018 档案
Unity shader 代码高亮+提示
摘要:Shader Unity Support This is Unity CG Shaders Support. It has code completion support and uses C/C++ like highlighting for *.shader files. Shader Unit 阅读全文
posted @ 2018-07-31 19:58 Jason_c 阅读(3799) 评论(0) 推荐(0)
Unity经验之谈
摘要:1、全屏与非全屏之间的切换 if (Input.GetMouseButtonDown(1)) { Screen.fullScreen = !Screen.fullScreen; } 2、Camera适应所有的分辨率 void Start () { Camera.main.aspect = 16 / 阅读全文
posted @ 2018-07-18 16:12 Jason_c 阅读(1380) 评论(0) 推荐(1)
用Google Chrome 浏览器打开Unity打包的WebGL
摘要:方法一: 直接build and run 方法二: 步骤: 1、打开浏览器的属性 2、在目标的位置添加--allow-file-access-from-files, 注意--allow-file-access-from-files之前有一个空格 3、应用后重启浏览器 阅读全文
posted @ 2018-07-18 15:23 Jason_c 阅读(2787) 评论(0) 推荐(0)
Unity WebGL 窗口自适应
摘要:unity 打包好WebGL后,用文本编辑器编辑打包生成的 index.html 文件 阅读全文
posted @ 2018-07-18 15:17 Jason_c 阅读(2375) 评论(0) 推荐(0)
TortoiseGit 弹出 git@xxx.com's password 对话框
摘要:安装完 tortoise git,用它克隆项目的时候,一直弹出git@xxx.com's password 对话框 解决的办法是,将ssh客户端默认的路径,换为git 安装目录下ssh.exe的路径就行了。 安装后的默认路径: 换为 git 安装目录下的 \user\bin\ssh.exe 阅读全文
posted @ 2018-07-09 17:15 Jason_c 阅读(1898) 评论(0) 推荐(0)
Unity Launcher类,轻松打开网页,照片,app 等
摘要:using UnityEngine; using UnityEngine.WSA; public class test : MonoBehaviour { void Start () { //打开百度 Launcher.LaunchUri("www.baidu.com", false); //打开图片 Launcher.L... 阅读全文
posted @ 2018-07-02 15:02 Jason_c 阅读(421) 评论(0) 推荐(0)