随笔分类 -  Unity

摘要:using UnityEngine;using UnityEditor;using System.Collections;using System.Collections.Generic;using System.IO;using System.Xml;using System.Xml.Serial 阅读全文
posted @ 2015-07-21 18:52 GamePal 阅读(547) 评论(0) 推荐(0)
摘要:using UnityEditor; /// <summary> /// 设置导入到Characters文件夹中Models文件夹下模型的属性 /// /// 把本脚本拷贝到Editor文件夹下,自动执行 /// /// </summary> public class FbxImportUnifor 阅读全文
posted @ 2015-06-08 18:22 GamePal 阅读(264) 评论(0) 推荐(0)
摘要:using UnityEngine; using System.Collections; using UnityEditor; using System.Collections.Generic; /// <summary> /// 对Project下选中的物体重命名 /// </summary> p 阅读全文
posted @ 2015-06-08 18:21 GamePal 阅读(379) 评论(0) 推荐(0)
摘要:using UnityEngine; using System.Collections; using UnityEditor; /// <summary> /// 根据命名快速捕获场景物体轴心点 /// </summary> public class QuickGetPivot : EditorWi 阅读全文
posted @ 2015-06-02 19:07 GamePal 阅读(895) 评论(0) 推荐(0)
摘要:using UnityEngine;using System.Collections;public class SportManAni : MonoBehaviour { // Use this for initialization void Start () { } bool CanControl 阅读全文
posted @ 2013-06-26 15:11 GamePal 阅读(287) 评论(0) 推荐(0)
摘要:var target : Transform;var xSpeed = 250.0;var ySpeed = 120.0;var yMinLimit = -20;var yMaxLimit = 80;var initDis = 20;var minDis = 3.0;var maxDis = 50. 阅读全文
posted @ 2012-08-23 09:20 GamePal 阅读(2573) 评论(0) 推荐(0)
摘要:using UnityEngine;using System.Collections;public class txtField : MonoBehaviour { private GameObject targetObj; private GameObject cubeObj; private G 阅读全文
posted @ 2012-06-02 15:12 GamePal 阅读(1264) 评论(0) 推荐(0)
摘要:using UnityEngine;using System.Collections;public class PlayMovie : MonoBehaviour { // Use this for initialization public MovieTexture movTexture; pri 阅读全文
posted @ 2012-06-01 04:16 GamePal 阅读(300) 评论(0) 推荐(0)