luoyikun

导航

统计

11 2018 档案

unity3d:的localPosition转换为相对父物体为B的localPosition
摘要:1.某个localPosition Vector3 homePosIn = new Vector3(float.Parse(lookIn[0]), float.Parse(lookIn[1]), float.Parse(lookIn[2])); 2.得到相对父物体的世界坐标 Vector3 home 阅读全文

posted @ 2018-11-13 15:11 luoyikun 阅读(15) 评论(0) 推荐(0) 编辑

unity3d倒放粒子
摘要:https://mp.weixin.qq.com/s/8yvrkbFfL0DIt4ZsymNiqQ using System.Collections; using System.Collections.Generic; using UnityEngine; public class Particle 阅读全文

posted @ 2018-11-08 17:12 luoyikun 阅读(11) 评论(0) 推荐(0) 编辑

unity3d:模型闪烁
摘要:using System.Collections; using System.Collections.Generic; using UnityEngine; public class ModelGlint : MonoBehaviour { /// <summary> /// 闪烁颜色 /// </ 阅读全文

posted @ 2018-11-08 09:43 luoyikun 阅读(20) 评论(0) 推荐(0) 编辑

unity3d:NavMeshSurface,寻路,同一水平面不可连接行走
摘要:建模有岸上,有水,在同一个水平面上。。人不能走到水上去。。 子部件设置为不可行走: 不能行走的为1 编辑器脚本 [MenuItem("NavMeshTool/AddNotWalk")] public static void AddNotWalk() { GameObject obj = Select 阅读全文

posted @ 2018-11-05 10:58 luoyikun 阅读(22) 评论(0) 推荐(0) 编辑

unity3d+androidstudio:接微信官方分享sdk
摘要:AndroidStudio: 导入unity与微信的两个jar包 MyWxShare类 package com.luoyikun.mywxshare; import android.app.Activity; import android.app.Fragment; import android.c 阅读全文

posted @ 2018-11-02 09:24 luoyikun 阅读(15) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示