随笔分类 -  unity

有关unity的一些编程思想
摘要:1,构思配置驱动文件生成 网上自动化脚本生成的思路是 1)设置好对应的模板 2)读取数据库对应的文件 3)根据模板对应的字段替换生成 模板》读取数据》生成对应文件 为什么会有做自动化脚本的想法,是因为工作中发现protobuf 这个工具可以自动编译根据服务器生成对应的cs文件 所以我这里想仿照思路设 阅读全文
posted @ 2018-11-01 20:20 杨小行 阅读(4518) 评论(0) 推荐(0)
摘要:1,调用的api可以制作任何类型的视频类型(包含快照,and VR视频) 一个视频的组成可以看成 每秒24 帧的连续图像组成。 后期将调用ffmpeg的库将图片拼接成视频 阅读全文
posted @ 2018-06-07 09:17 杨小行 阅读(5148) 评论(1) 推荐(0)
摘要:UnityEditor》AssetPostprocessor 控制导入的脚本 类中的方法字段 public string assetPath { get; set; } public AssetImporter assetImporter { get; } public Texture2D prev 阅读全文
posted @ 2018-03-22 14:33 杨小行 阅读(2585) 评论(0) 推荐(0)
摘要:using System; using System.Collections; using System.Collections.Generic; using System.Threading; using UnityEngine; using Random = System.Random; public class MyThreadManger : MonoBehaviour { H... 阅读全文
posted @ 2018-03-21 16:12 杨小行 阅读(198) 评论(0) 推荐(0)
摘要:using System.Collections; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Text; using UnityEditor; using UnityEngine; public static class M_ProcessExcuter {... 阅读全文
posted @ 2018-03-21 16:10 杨小行 阅读(2212) 评论(0) 推荐(0)