摘要:一般是.jar .aar包重复。导入不同版本插件,.aar位置不同,或者是产生了.aar.skip这样的文件
阅读全文
摘要:using System.Collections; using System.Collections.Generic; using UnityEngine; using DG.Tweening; public class PingPong : MonoBehaviour { float m_time
阅读全文
摘要:卷轴式UI面板打开特效 思路:content用mask控制x方向大小,用dotween 两边的圆柱体同时dotween控制位置 面板的结构为 content 增加mask组件 public class UGUIPanel : BasePanel { public UnityAction m_actO
阅读全文
摘要:方案1:VRTK原生api方式 void CtrlReferInit1() { m_leftCtrlRefer = VRTK_ControllerReference.GetControllerReference(m_leftController); Debug.Log("Left: " + VRTK
阅读全文
摘要:设置路径点 using UnityEngine; using System.Collections; using System.Collections.Generic; public class WaypointsManager : MonoBehaviour { Transform[] waypo
阅读全文
摘要:Shader "Custom/GhostOnly_Transparent" { Properties { _MainTex ("Base (RGB)", 2D) = "white" {} _GhostColor ("Ghost Color", Color) = (0, 1, 0, 1) _Pow (
阅读全文
摘要:不用射线触发,主动传送到场景中预设的点 新版本的强制传送 public virtual void ForceTeleport(Vector3 destinationPosition, Quaternion? destinationRotation = null) { DestinationMarke
阅读全文