摘要:1.某个localPosition Vector3 homePosIn = new Vector3(float.Parse(lookIn[0]), float.Parse(lookIn[1]), float.Parse(lookIn[2])); 2.得到相对父物体的世界坐标 Vector3 home
阅读全文
摘要:https://mp.weixin.qq.com/s/8yvrkbFfL0DIt4ZsymNiqQ using System.Collections; using System.Collections.Generic; using UnityEngine; public class Particle
阅读全文
摘要:using System.Collections; using System.Collections.Generic; using UnityEngine; public class ModelGlint : MonoBehaviour { /// <summary> /// 闪烁颜色 /// </
阅读全文
摘要:建模有岸上,有水,在同一个水平面上。。人不能走到水上去。。 子部件设置为不可行走: 不能行走的为1 编辑器脚本 [MenuItem("NavMeshTool/AddNotWalk")] public static void AddNotWalk() { GameObject obj = Select
阅读全文
摘要:AndroidStudio: 导入unity与微信的两个jar包 MyWxShare类 package com.luoyikun.mywxshare; import android.app.Activity; import android.app.Fragment; import android.c
阅读全文