luoyikun

导航

上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 31 下一页

2019年4月10日 #

unity3d:shader自发光透明

摘要: Shader "Custom/AlphaSelfIllum" { Properties { _Color ("Main Color", Color) = (1,1,1,0) _SpecColor ("Spec Color", Color) = (1,1,1,1) _Emission ("Emmisi 阅读全文

posted @ 2019-04-10 13:35 luoyikun 阅读(10) 评论(0) 推荐(0)

2019年4月9日 #

c#:winform读取excel,并显示在griddataview

摘要: using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Data.OleDb; using System.Drawing; using S 阅读全文

posted @ 2019-04-09 10:55 luoyikun 阅读(22) 评论(0) 推荐(0)

2019年4月7日 #

unity3d:terrain地形数据拷贝,包含树和草的信息

摘要: using System.Collections; using System.Collections.Generic; using UnityEngine; public class TerrianTest : MonoBehaviour { public Terrain m_terrainFrom 阅读全文

posted @ 2019-04-07 13:59 luoyikun 阅读(87) 评论(0) 推荐(0)

2019年4月1日 #

unity3d:限制物体旋转角度(限制相机上下观察角度)

摘要: 因为对于旋转来说。360度是一个循环。-1° 也可以算是就是359° 而且unity就是这样认为的。面板上虽然显示的是-1。但是他运行时是359。 if(angle>60) transform.eulerAngles = new Vector3(60, transform.eulerAngles.y 阅读全文

posted @ 2019-04-01 15:21 luoyikun 阅读(238) 评论(0) 推荐(0)

2019年3月25日 #

unity3d:android导出项目编译Multiple dex files define Lcom/unity3d/player/UnityPlayerActivity

摘要: 一般是.jar .aar包重复。导入不同版本插件,.aar位置不同,或者是产生了.aar.skip这样的文件 阅读全文

posted @ 2019-03-25 14:02 luoyikun 阅读(6) 评论(0) 推荐(0)

2019年3月22日 #

unity3d:dotween pingpong 物体来回运动

摘要: using System.Collections; using System.Collections.Generic; using UnityEngine; using DG.Tweening; public class PingPong : MonoBehaviour { float m_time 阅读全文

posted @ 2019-03-22 11:36 luoyikun 阅读(103) 评论(0) 推荐(0)

2019年3月19日 #

unity3d:UGUI卷轴展开动画效果

摘要: 卷轴式UI面板打开特效 思路:content用mask控制x方向大小,用dotween 两边的圆柱体同时dotween控制位置 面板的结构为 content 增加mask组件 public class UGUIPanel : BasePanel { public UnityAction m_actO 阅读全文

posted @ 2019-03-19 17:34 luoyikun 阅读(155) 评论(0) 推荐(0)

unity3d:htcvive vrtk获取手柄的速度

摘要: 方案1:VRTK原生api方式 void CtrlReferInit1() { m_leftCtrlRefer = VRTK_ControllerReference.GetControllerReference(m_leftController); Debug.Log("Left: " + VRTK 阅读全文

posted @ 2019-03-19 11:33 luoyikun 阅读(11) 评论(0) 推荐(0)

2019年3月15日 #

unity3d:路径点移动,使用dotween(模拟蝴蝶飞舞)

摘要: 设置路径点 using UnityEngine; using System.Collections; using System.Collections.Generic; public class WaypointsManager : MonoBehaviour { Transform[] waypo 阅读全文

posted @ 2019-03-15 18:08 luoyikun 阅读(105) 评论(0) 推荐(0)

unity3d:运动残影

摘要: Shader "Custom/GhostOnly_Transparent" { Properties { _MainTex ("Base (RGB)", 2D) = "white" {} _GhostColor ("Ghost Color", Color) = (0, 1, 0, 1) _Pow ( 阅读全文

posted @ 2019-03-15 17:31 luoyikun 阅读(12) 评论(0) 推荐(0)

上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 31 下一页