luoyikun

导航

统计

03 2019 档案

unity3d:android导出项目编译Multiple dex files define Lcom/unity3d/player/UnityPlayerActivity
摘要:一般是.jar .aar包重复。导入不同版本插件,.aar位置不同,或者是产生了.aar.skip这样的文件 阅读全文

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

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 阅读(83) 评论(0) 推荐(0) 编辑

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 阅读(122) 评论(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 阅读(6) 评论(0) 推荐(0) 编辑

unity3d:路径点移动,使用dotween(模拟蝴蝶飞舞)
摘要:设置路径点 using UnityEngine; using System.Collections; using System.Collections.Generic; public class WaypointsManager : MonoBehaviour { Transform[] waypo 阅读全文

posted @ 2019-03-15 18:08 luoyikun 阅读(76) 评论(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 阅读(9) 评论(0) 推荐(0) 编辑

unity3d+VRTK:强制传送,主动传送到场景中预设的点(位置与摄像机角度)
摘要:不用射线触发,主动传送到场景中预设的点 新版本的强制传送 public virtual void ForceTeleport(Vector3 destinationPosition, Quaternion? destinationRotation = null) { DestinationMarke 阅读全文

posted @ 2019-03-05 09:35 luoyikun 阅读(24) 评论(0) 推荐(0) 编辑

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