11 2020 档案
摘要:1.列出所有按钮的枚举类型 2.创建脚本ElectricalCabinetControlGenerator_CabinetButtonManager 3.将对应的按钮添加该脚本,并选择自己对应的枚举类型,并给每个按钮添加BoxCollider组件,勾选is Trigger 4.创建脚本管理动画,按钮
阅读全文
摘要:一、创建脚本PoolManager using System.Collections; using System.Collections.Generic; using UnityEngine; public class PoolManager : MonoBehaviour { public sta
阅读全文
摘要:一、VR环境配置 1.创建空物体,命名为【VRTK_SDK_MANAGER】,为其添加组件VRTK_SDK Manager,设置Setups,Scripts Aliases 2.在【VRTK_SDK_MANAGER】下方添加SDKSetUps预制体 3.在添加SDKSetupSwitcher预制体
阅读全文
摘要:1.创建一个RawImage,命名为BlackToClear 2.添加脚本 using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; namespace E
阅读全文