随笔分类 - Unity
摘要:// Creates a prefab at the given path. // If a prefab already exists it asks if you want to replace it using UnityEngine; using UnityEditor; public class CreateNewPrefab : EditorWindow { [MenuI...
阅读全文
摘要:一、准备 高德开发者页面注册产品 1.1 http://www.cnblogs.com/U-tansuo/archive/2013/04/25/unity3d_android_sign.html 1.2填写应用应用信息 1.3下载Android 定位SDK http://lbs.amap.com/a
阅读全文
摘要:public class ArMonoDevelop : MonoBehaviour { // Use this for initialization //需要放大缩小旋转的物体 public GameObject rotateAndEnlargeObj; public bool isRotate = true; public bool isEnlarg...
阅读全文
摘要:Unity2017.1 ShareSDK GalleryScreenshot.unitypackage 一、SharSDK注册产品 后台>概括 二、微信开放平台上注册产品 2.1Unity: PlayerSettings>OtherSetting: com.wfj.snailshell Androi
阅读全文
摘要:using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; using UnityEngine.Video; public class StreamVideo : MonoBehaviour { public RawImage image; ...
阅读全文
摘要:uLua(September 2017); Unity2017; vuforia-unity-6-2-10; Easy Touch 5 Touchscreen Virtual Controls 5.0.12
阅读全文
摘要:Unity2017;ICSharpCode.SharpZipLib.Zip;
阅读全文
摘要:Unity2017 ; vuforia-unity-6-2-10; IIS添加对.dat文件支持 文件扩展名:.dat MIME类型:application/octet-stream
阅读全文
摘要:1.鼠标平面拖拽物体 2.当射线碰撞目标为boot类型的物品 ,执行拾取操作(仅作参考) 3.重置物体位移方法,脱卡需要放到摄像机下 4实例,小球找同颜色父物体 完整代码 5物体碰撞知识参考 http://m.manew.com/thread-30342-1-1.html
阅读全文
摘要:1、基本UI布局这里使用UGUI,Unity版本2017.1.0f3 2、在Scrollbar添加按下抬起的监听 3、代码清单 3.1驱动类 3.2 工具方法 查找未激活子物体
阅读全文
摘要:using System.Collections; using System.Collections.Generic; using UnityEngine; public class DeviceBuildDisplay : MonoBehaviour { internal void OnEnable() { Application.logMessageRec...
阅读全文
摘要:Unity2017 一、创建Bundle打包工具ExportAssetBundles 二、资源更新及读取 三、这里创建了两个文件夹Server&Local模拟服务器和本地 四、网络测试
阅读全文
摘要:资源Bundle创建,这里Assets下手动创建StreamingAssets文件夹 资源的引用 资源层级截图 http://blog.csdn.net/lyh916/article/details/49815871 http://www.xuanyusong.com/archives/2405
阅读全文
摘要:using UnityEngine; using System.Collections.Generic; using UnityEditor; using System.IO; enum ImageOptions { Load_AppLogo, Load_Outside, Load_Inside, Load_BG, Main_ArCam, Main_PDF, Main_BG, ...
阅读全文
摘要:按住K; V截取游戏 using UnityEngine; using System.Collections; using System.IO; // Screen Recorder will save individual images of active scene in any resolut
阅读全文
摘要:using System.Collections; public class CamFollowPlayer : MonoBehaviour { public float moveSpeed = 3; public float rotateSpeed = 3; private Vector3 off
阅读全文
摘要:using UnityEngine;using UnityEditor;using System.Collections; public class CheckCharacterShader : EditorWindow{ /// <summary> /// 检测Character材质是否丢失sha
阅读全文
摘要:using UnityEngine;using UnityEditor;using System.Collections;using System.Collections.Generic; public class FindMulTextureMaterial : EditorWindow{ //
阅读全文

浙公网安备 33010602011771号