原创 Highlighting System插件控制

  using System.Collections; using System.Collections.Generic; using UnityEngine; using HighlightingSystem; public cl

原创 avprovideo插件獲取視頻長度並顯示成分鐘

public Text text1; void Update() { Debug.Log("Time: " + (time * 0.001f).ToString("F1") + "s / "

原创 Material 換貼圖

 public Material m_Material; public Texture2D m_Texture2D;//替換後  m_Material.SetTexture("_MainTex", m_Texture2D);  

原创 AVProVideo插件-暫停播放

toggle暫停播放 bool isShow = false; public Image ims1; public void OnStartPause() { isShow = !i

原创 全屏導出

screen.SetResolution(1920,1080,true);

原创 VR_InteractableObject重寫--抓取之後

namespace VRTK.Examples { using System.Collections; using System.Collections.Generic; using UnityEngine;

原创 TD-COMP OP的應用(三)

學到現在,還不會連接硬件。

原创 TD-問題解答(四)

1. 如何用激光與投影內容交互呢?是需要利用激光感應技術嗎?有現成的機器嗎? 需要連接osc或DMX協議,須加傳感器。觸發的方式可以做重力,速度,雷達感應,和深度攝像頭原理差不多。(ep.分析曝光位置,做一個碰撞才形成互動) 2. td直

原创 打磚塊練習

using System.Collections; using System.Collections.Generic; using UnityEngine; public class Shoot : MonoBehaviour {

原创 TD-激活軟件使用(零)

下載軟件,然後去官網上註冊,註冊完了之後 然後記錄一下這兩個東西,然後在KEY裏面創建一個填一下圖一的值,不然就像下面這樣找不到合格的許可證 最後在install裏面輸入創建出來的key就直接用軟件了

原创 unity連接sqlserver數據庫

1.安裝sqlserver數據庫 https://www.microsoft.com/zh-cn/sql-server/sql-server-downloads官網下載sql,ssms右鍵管理員運行 https://blog.csdn.n

原创 Pico VR-小鳥看看 學習(二)拾取物體

手柄 using System.Collections; using System.Collections.Generic; using UnityEngine; using Pvr_UnitySDKAPI; public cla

原创 天空盒控制操作

在主相機上加skybox組件,賦加修改的天空。加skyrotate腳本在主相機上 using System.Collections; using System.Collections.Generic; using UnityEngine

原创 Animation多個相同動畫間隔時間參差播放,動畫自動賦值

private Animation anim; public float animRandomTime = 2f; private IEnumerator Start() { anim = GetComp

原创 Excel表格導入mysql數據庫中

另存爲製表符分隔。 使用notepad打開 轉一下保存。 打開mysql,表右鍵導入,按照自己表的格式 下一步下一步