VRTK/Examples/ExampleResources/SceneResources/(Yanlz+VRTK+)

VRTK/Examples/ExampleResources/SceneResources/

版本

作者

参与者

完成日期

备注

VRTK_SceneResources_V01_1.0

严立钻

 

2018.09.20

 

 

 

 

 

 

 

 

 

 

 

##《VRTK_SceneResources》目录:

++++A、[001 - Interactions] ControllerEvents

++++B、[002 - Pointers] StraightPointer

++++C、[003 - Pointers] BezierPointer

++++D、[005 - Interactions] InteractableObjects

++++E、[006 - Locomotion] MovementTypes

++++F、[007 - Interactions] InteractionHelpers

VRTK/Examples/ExampleResources/SceneResources/(Yanlz+VRTK+)_第1张图片

 

 

 

 

 

 

#A、[001 - Interactions] ControllerEvents

#A、[001 - Interactions] ControllerEvents

++A、[001 - Interactions] ControllerEvents

++++A.1、Scripts/VRTKExample_ControllerEventsDelegateListeners.cs

VRTK/Examples/ExampleResources/SceneResources/(Yanlz+VRTK+)_第2张图片

 

 

##A.1、Scripts/VRTKExample_ControllerEventsDelegateListeners.cs

##A.1、Scripts/VRTKExample_ControllerEventsDelegateListeners.cs

++A.1、Scripts/VRTKExample_ControllerEventsDelegateListeners.cs

++++立钻哥哥:\Scripts\VRTKExample_ControllerEventsDelegateListeners.cs

namespace VRTK.Examples{

    public class VRTKExample_ControllerEventsDelegateListeners : MonoBehaviour{

    }

}

 

++VRTKExample_ControllerEventsDelegateListeners.cs

++++立钻哥哥:

namespace VRTK.Example{

    using UnityEngine;

 

    public class VRTKExample_ControllerEventDelegateListeners : MonoBehaviour{

    

        public enum EventQuickSelect{

            Custom,

            None,

            ButtonOnly,

            AxisOnly,

            SenseAxisOnly

        }    //立钻哥哥:public enum EventQuickSelect{}

 

        public VRTK_ControllerEvents controllerEvents;

 

        ... ....  //立钻哥哥:此代码优先级不高,暂不拓展

 

    }    //立钻哥哥:public class VRTKExample_ControllerEventDelegateListeners{}

 

}    //立钻哥哥:namespace VRTK.Example{}

 

 

 

 

 

 

 

 

#B、[002 - Pointers] StraightPointer

#B、[002 - Pointers] StraightPointer

++B、[002 - Pointers] StraightPointer

++++B.1、Scripts/VRTKExample_PointerObjectHighlighterActivator.cs

VRTK/Examples/ExampleResources/SceneResources/(Yanlz+VRTK+)_第3张图片

 

 

##B.1、Scripts/VRTKExample_PointerObjectHighlighterActivator.cs

##B.1、Scripts/VRTKExample_PointerObjectHighlighterActivator.cs

++B.1、Scripts/VRTKExample_PointerObjectHighlighterActivator.cs

++++立钻哥哥:\Scripts\VRTKExample_PointerObjectHighlighterActivator.cs

namespace VRTK.Examples{

    public class VRTKExample_PointerObjectHighlighterActivator : MonoBehaviour{

    }

}

 

++VRTKExample_PointerObjectHighlighterActivator.cs

++++立钻哥哥:

namespace VRTK.Example{

    using UnityEngine;

    using VRTK.Highlighters;

 

    public class VRTKExample_PointerObjectHighlighterActivator : MonoBehaviour{

        public VRTK_DestinationMarker pointer;

        public Color hoverColor = Color.cyan;

        public Color selectColor = Color.yellow;

        public bool logEnterEvent = true;

        public bool logHoverEvent = false;

        public bool logExitEvent = true;

        public bool logSetEvent = true;

 

        ... ...    //立钻哥哥:此代码优先级不高,暂不拓展

 

    }    //立钻哥哥:public class VRTKExample_PointerObjectHighlighterActivator{}

 

}    //立钻哥哥:namespace VRTK.Example{}

 

 

 

 

 

 

 

 

#C、[003 - Pointers] BezierPointer

#C、[003 - Pointers] BezierPointer

++C、[003 - Pointers] BezierPointer

++++C.1、Scripts/VRTKExample_BezierPointerChanger.cs

++++C.2、Scripts/VRTKExample_BezierPointerCustomStyles.cs

++++C.3、Scripts/VRTKExample_BezierPointerDefaults.cs

++++C.4、Scripts/VRTKExample_BezierPointerLineRenderer.cs

VRTK/Examples/ExampleResources/SceneResources/(Yanlz+VRTK+)_第4张图片

 

 

##C.1、Scripts/VRTKExample_BezierPointerChanger.cs

##C.1、Scripts/VRTKExample_BezierPointerChanger.cs

++C.1、Scripts/VRTKExample_BezierPointerChanger.cs

++++立钻哥哥:\Scripts\VRTKExample_BezierPointerChanger.cs

namespace VRTK.Example{

    public abstract class VRTKExample_BezierPointerChanger : VRTKExample_OptionTile{

        public override void Activate(){}

        protected abstract void StyleRenderer(VRTK_BezierPointerRenderer renderer);

        protected virtual void ResetRenderer(){VRTK_BezierPointerRenderer renderer}{}

    }

}

 

++VRTKExample_BezierPointerChanger.cs

++++立钻哥哥:

namespace VRTK.Example{

    using UnityEngine;

 

    public abstract class VRTKExample_BezierPointerChanger : VRTKExample_OptionTile{

        public VRTK_BezierPointerRenderer leftRenderer;

        public VRTK_BezierPointerRenderer rightRenderer;

 

        public override void Activate(){

            StyleRenderer(leftRenderer);

            StyleRenderer(rightRenderer);

        }

 

        protected abstract void StyleRenderer(VRTK_BezierPointerRenderer renderer);

 

        protected virtual void ResetRenderer(VRTK_BezierPointerRenderer renderer){

            if(renderer != null){

                renderer.gameObject.SetActive(false);

                renderer.validCollisionColor = Color.green;

                renderer.invalidCollisionColor = Color.red;

                renderer.customTracer = null;

                renderer.customCursor = null;

                renderer.validLocationObject = null;

                renderer.invalidLocationObject = null;

                renderer.rescaleTracer = false;

                renderer.gameObject.SetActive(true);

            }

        }

 

    }    //立钻哥哥:public abstract class VRTKExample_BezierPointerChanger{}

 

}    //立钻哥哥:namespace VRTK.Example{}

 

 

 

##C.2、Scripts/VRTKExample_BezierPointerCustomStyles.cs

##C.2、Scripts/VRTKExample_BezierPointerCustomStyles.cs

++C.2、Scripts/VRTKExample_BezierPointerCustomStyles.cs

++++立钻哥哥:\Scripts\VRTKExample_BezierPointerCustomStyles.cs

namespace VRTK.Examples{

    public class VRTKExample_BezierPointerCustomStyles:VRTKExample_BezierPointerChanger{

        protected override void StyleRenderer(VRTK_BezierPointerRenderer renderer){

        }

    }

}

 

++VRTKExample_BezierPointerCustomStyles.cs

++++立钻哥哥:

namespace VRTK.Example{

    using UnityEngine;

 

    public class VRTKExample_BezierPointerCustomStyles : VRTKExample_BezierPointerChanger{

        public Color validLoacationColor = new Color(0.431f, 0.682f, 0.788f);

        public Color invalidLocationColor = new Color(0.545f, 0.149f, 0.208f);

        public GameObject tracerPrefab;

        public GameObject cursorPrefab;

        public GameObject validLocationPrefab;

        public GameObject invalidLocationPrefab;

 

        protected override void StyleRenderer(VRTK_BezierPointerRenderer renderer){

            if(renderer != null){

                ResetRenderer(renderer);

                renderer.gameObject.SetActive(false);

                renderer.rescaleTracer = true;

                renderer.validCollisionColor = validLocationColor;

                renderer.invalidCollisonColor = invalidLocationColor;

                renderer.customTracer = tracerPrefab;

                renderer.customCursor = cursorPrefab;

                renderer.validLocationObject = validLocationPrefab;

                renderer.invalidLocationObject = invalidLocationPrefab;

                renderer.gameObject.SetActive(true);

            }

        }

 

    }    //立钻哥哥:public class VRTKExample_BezierPointerCustomStyles{}

 

}    //立钻哥哥:namespace VRTK.Example{}

 

 

 

##C.3、Scripts/VRTKExample_BezierPointerDefaults.cs

##C.3、Scripts/VRTKExample_BezierPointerDefaults.cs

++C.3、Scripts/VRTKExample_BezierPointerDefaults.cs

++++立钻哥哥:\Scripts\VRTKExample_BezierPointerDefaults.cs

namespace VRTK.Examples{

    public class VRTKExample_BezierPointerDefaults : VRTKExample_BezierPointerChanger{

    }

}

 

++VRTKExample_BezierPointerDefaults.cs

++++立钻哥哥:

namespace VRTK.Examples{

    using UnityEngine;

 

    public class VRTKExample_BezierPointerDefaults : VRTKExample_BezierPointerChanger{

        protected override void StyleRenderer(VRTK_BezierPointerRenderer renderer){

            ResetRenderer(renderer);

        }

    }    //立钻哥哥:public class VRTKExample_BezierPointerDefaults{}

 

}    //立钻哥哥:namespace VRTK.Examples{}

 

 

 

##C.4、Scripts/VRTKExample_BezierPointerLineRenderer.cs

##C.4、Scripts/VRTKExample_BezierPointerLineRenderer.cs

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

++立钻哥哥推荐的拓展学习链接(Link_Url)

立钻哥哥推荐的拓展学习链接(Link_Url)

++++立钻哥哥Unity 学习空间: http://blog.csdn.net/VRunSoftYanlz/

++++HTC_VIVE开发基础https://blog.csdn.net/VRunSoftYanlz/article/details/81989970

++++Oculus杂谈https://blog.csdn.net/VRunSoftYanlz/article/details/82469850

++++Oculus安装使用https://blog.csdn.net/VRunSoftYanlz/article/details/82718982

++++VRTK杂谈https://blog.csdn.net/VRunSoftYanlz/article/details/82562993

++++VRTK代码结构(目录)https://blog.csdn.net/VRunSoftYanlz/article/details/82780085

++++VRTK(SceneResources)https://blog.csdn.net/VRunSoftYanlz/article/details/82795400

++++Unity5.x用户手册https://blog.csdn.net/VRunSoftYanlz/article/details/81712741

++++Unity面试题ABChttps://blog.csdn.net/vrunsoftyanlz/article/details/78630687

++++Unity面试题Dhttps://blog.csdn.net/VRunSoftYanlz/article/details/78630838

++++Unity面试题Ehttps://blog.csdn.net/vrunsoftyanlz/article/details/78630913

++++Unity面试题Fhttps://blog.csdn.net/VRunSoftYanlz/article/details/78630945

++++Cocos2dx面试题https://blog.csdn.net/VRunSoftYanlz/article/details/78630967

++++Lua快速入门篇(Xlua拓展):https://blog.csdn.net/VRunSoftYanlz/article/details/81173818

++++Lua快速入门篇(XLua教程):https://blog.csdn.net/VRunSoftYanlz/article/details/81141502

++++Lua快速入门篇(基础概述)https://blog.csdn.net/VRunSoftYanlz/article/details/81041359

++++框架知识点https://blog.csdn.net/VRunSoftYanlz/article/details/80862879

++++游戏框架(UI框架夯实篇)https://blog.csdn.net/vrunsoftyanlz/article/details/80781140

++++游戏框架(初探篇)https://blog.csdn.net/VRunSoftYanlz/article/details/80630325

++++设计模式简单整理https://blog.csdn.net/vrunsoftyanlz/article/details/79839641

++++专题:设计模式(精华篇)https://blog.csdn.net/VRunSoftYanlz/article/details/81322678

++++U3D小项目参考https://blog.csdn.net/vrunsoftyanlz/article/details/80141811

++++Unity案例(Vehicle)https://blog.csdn.net/VRunSoftYanlz/article/details/82355876

++++UML类图https://blog.csdn.net/vrunsoftyanlz/article/details/80289461

++++Unity知识点0001https://blog.csdn.net/vrunsoftyanlz/article/details/80302012

++++Unity知识点0008https://blog.csdn.net/VRunSoftYanlz/article/details/81153606

++++U3D_Shader编程(第一篇:快速入门篇)https://blog.csdn.net/vrunsoftyanlz/article/details/80372071

++++U3D_Shader编程(第二篇:基础夯实篇)https://blog.csdn.net/vrunsoftyanlz/article/details/80372628

++++Unity引擎基础https://blog.csdn.net/vrunsoftyanlz/article/details/78881685

++++Unity面向组件开发https://blog.csdn.net/vrunsoftyanlz/article/details/78881752

++++Unity物理系统https://blog.csdn.net/vrunsoftyanlz/article/details/78881879

++++Unity2D平台开发https://blog.csdn.net/vrunsoftyanlz/article/details/78882034

++++UGUI基础https://blog.csdn.net/vrunsoftyanlz/article/details/78884693

++++UGUI进阶https://blog.csdn.net/vrunsoftyanlz/article/details/78884882

++++UGUI综合https://blog.csdn.net/vrunsoftyanlz/article/details/78885013

++++Unity动画系统基础https://blog.csdn.net/vrunsoftyanlz/article/details/78886068

++++Unity动画系统进阶https://blog.csdn.net/vrunsoftyanlz/article/details/78886198

++++Navigation导航系统https://blog.csdn.net/vrunsoftyanlz/article/details/78886281

++++Unity特效渲染https://blog.csdn.net/vrunsoftyanlz/article/details/78886403

++++Unity数据存储https://blog.csdn.net/vrunsoftyanlz/article/details/79251273

++++Unity中Sqlite数据库https://blog.csdn.net/vrunsoftyanlz/article/details/79254162

++++WWW类和协程https://blog.csdn.net/vrunsoftyanlz/article/details/79254559

++++Unity网络https://blog.csdn.net/vrunsoftyanlz/article/details/79254902

++++C#事件https://blog.csdn.net/vrunsoftyanlz/article/details/78631267

++++C#委托https://blog.csdn.net/vrunsoftyanlz/article/details/78631183

++++C#集合https://blog.csdn.net/vrunsoftyanlz/article/details/78631175

++++C#泛型https://blog.csdn.net/vrunsoftyanlz/article/details/78631141

++++C#接口https://blog.csdn.net/vrunsoftyanlz/article/details/78631122

++++C#静态类https://blog.csdn.net/vrunsoftyanlz/article/details/78630979

++++C#中System.String类https://blog.csdn.net/vrunsoftyanlz/article/details/78630945

++++C#数据类型https://blog.csdn.net/vrunsoftyanlz/article/details/78630913

++++Unity3D默认的快捷键https://blog.csdn.net/vrunsoftyanlz/article/details/78630838

++++游戏相关缩写https://blog.csdn.net/vrunsoftyanlz/article/details/78630687

++++UnityAPI.Rigidbody刚体https://blog.csdn.net/VRunSoftYanlz/article/details/81784053

++++UnityAPI.Material材质https://blog.csdn.net/VRunSoftYanlz/article/details/81814303

++++UnityAPI.Android安卓https://blog.csdn.net/VRunSoftYanlz/article/details/81843193

++++UnityAPI.AndroidJNI安卓JNIhttps://blog.csdn.net/VRunSoftYanlz/article/details/81879345

++++UnityAPI.Transform变换https://blog.csdn.net/VRunSoftYanlz/article/details/81916293

++++UnityAPI.WheelCollider轮碰撞器https://blog.csdn.net/VRunSoftYanlz/article/details/82356217

++++JSON数据结构https://blog.csdn.net/VRunSoftYanlz/article/details/82026644

++++CocosStudio快速入门https://blog.csdn.net/VRunSoftYanlz/article/details/82356839

++++VR实验:以太网帧的构成https://blog.csdn.net/VRunSoftYanlz/article/details/82598140

++++Unity企业内训(目录)https://blog.csdn.net/VRunSoftYanlz/article/details/82634668

++++Unity企业内训(第1讲)https://blog.csdn.net/VRunSoftYanlz/article/details/82634733

++++计算机组成原理(教材篇)https://blog.csdn.net/VRunSoftYanlz/article/details/82719129

++++立钻哥哥Unity 学习空间: http://blog.csdn.net/VRunSoftYanlz/

--_--VRunSoft:lovezuanzuan--_--

你可能感兴趣的:(VRTK)