<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Unity3D on 瓶子裡的小狐狸</title>
    <link>https://szeching.com/tags/unity3d/</link>
    <description>Recent content in Unity3D on 瓶子裡的小狐狸</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>zh-Hant</language>
    <copyright>© 2026 Y Cheung</copyright>
    <lastBuildDate>Wed, 25 Mar 2020 04:23:57 +0000</lastBuildDate><atom:link href="https://szeching.com/tags/unity3d/index.xml" rel="self" type="application/rss+xml" />
    
    <item>
      <title>Unity3D接入MySQL数据库</title>
      <link>https://szeching.com/connect-mysql-database-with-unity3d/</link>
      <pubDate>Wed, 25 Mar 2020 04:23:57 +0000</pubDate>
      
      <guid>https://szeching.com/connect-mysql-database-with-unity3d/</guid>
      <description>&lt;h2 class=&#34;relative group&#34;&gt;系統环境：&#xA;    &lt;div id=&#34;系統环境&#34; class=&#34;anchor&#34;&gt;&lt;/div&gt;&#xA;    &#xA;    &lt;span&#xA;        class=&#34;absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none&#34;&gt;&#xA;        &lt;a class=&#34;text-primary-300 dark:text-neutral-700 !no-underline&#34; href=&#34;#%e7%b3%bb%e7%b5%b1%e7%8e%af%e5%a2%83&#34; aria-label=&#34;定位點&#34;&gt;#&lt;/a&gt;&#xA;    &lt;/span&gt;&#xA;    &#xA;&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Windows 10（x64）(version 1909)&lt;/li&gt;&#xA;&lt;li&gt;Unity3D (version 2018.3.0f2)&lt;/li&gt;&#xA;&lt;li&gt;Microsoft Visual Studio Community 2017 (version 15.9.4)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;h2 class=&#34;relative group&#34;&gt;操作步驟：&#xA;    &lt;div id=&#34;操作步驟&#34; class=&#34;anchor&#34;&gt;&lt;/div&gt;&#xA;    &#xA;    &lt;span&#xA;        class=&#34;absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none&#34;&gt;&#xA;        &lt;a class=&#34;text-primary-300 dark:text-neutral-700 !no-underline&#34; href=&#34;#%e6%93%8d%e4%bd%9c%e6%ad%a5%e9%a9%9f&#34; aria-label=&#34;定位點&#34;&gt;#&lt;/a&gt;&#xA;    &lt;/span&gt;&#xA;    &#xA;&lt;/h2&gt;&#xA;&#xA;&lt;h3 class=&#34;relative group&#34;&gt;准備一個本地/綫上Mysql數據庫&#xA;    &lt;div id=&#34;准備一個本地綫上mysql數據庫&#34; class=&#34;anchor&#34;&gt;&lt;/div&gt;&#xA;    &#xA;    &lt;span&#xA;        class=&#34;absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none&#34;&gt;&#xA;        &lt;a class=&#34;text-primary-300 dark:text-neutral-700 !no-underline&#34; href=&#34;#%e5%87%86%e5%82%99%e4%b8%80%e5%80%8b%e6%9c%ac%e5%9c%b0%e7%b6%ab%e4%b8%8amysql%e6%95%b8%e6%93%9a%e5%ba%ab&#34; aria-label=&#34;定位點&#34;&gt;#&lt;/a&gt;&#xA;    &lt;/span&gt;&#xA;    &#xA;&lt;/h3&gt;&#xA;&lt;p&gt;Y Cheung 的數據庫設置如下：&lt;/p&gt;</description>
      
    </item>
    
    <item>
      <title>Unity AvProVideo Plugin 中設置影片在安卓SD卡上的絕對地址</title>
      <link>https://szeching.com/setting-android-sdcard-absolute-path-on-unity-avprovideo-plugin/</link>
      <pubDate>Sat, 28 May 2016 13:14:31 +0000</pubDate>
      
      <guid>https://szeching.com/setting-android-sdcard-absolute-path-on-unity-avprovideo-plugin/</guid>
      <description>&lt;h2 class=&#34;relative group&#34;&gt;Media Play 設置&#xA;    &lt;div id=&#34;media-play-設置&#34; class=&#34;anchor&#34;&gt;&lt;/div&gt;&#xA;    &#xA;    &lt;span&#xA;        class=&#34;absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none&#34;&gt;&#xA;        &lt;a class=&#34;text-primary-300 dark:text-neutral-700 !no-underline&#34; href=&#34;#media-play-%e8%a8%ad%e7%bd%ae&#34; aria-label=&#34;定位點&#34;&gt;#&lt;/a&gt;&#xA;    &lt;/span&gt;&#xA;    &#xA;&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Video Location 選擇 &lt;code&gt;Absolute Path Or URL&lt;/code&gt;。&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;h2 class=&#34;relative group&#34;&gt;找到安卓設備SDCard的根目錄(ROOT PATH)&#xA;    &lt;div id=&#34;找到安卓設備sdcard的根目錄root-path&#34; class=&#34;anchor&#34;&gt;&lt;/div&gt;&#xA;    &#xA;    &lt;span&#xA;        class=&#34;absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none&#34;&gt;&#xA;        &lt;a class=&#34;text-primary-300 dark:text-neutral-700 !no-underline&#34; href=&#34;#%e6%89%be%e5%88%b0%e5%ae%89%e5%8d%93%e8%a8%ad%e5%82%99sdcard%e7%9a%84%e6%a0%b9%e7%9b%ae%e9%8c%84root-path&#34; aria-label=&#34;定位點&#34;&gt;#&lt;/a&gt;&#xA;    &lt;/span&gt;&#xA;    &#xA;&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;如果電腦上安裝了&lt;a href=&#34;https://developer.android.com/tools/adb&#34;  target=&#34;_blank&#34; rel=&#34;noreferrer&#34;&gt;adb工具&lt;/a&gt;，使用指令 &lt;code&gt;adb shell echo $EXTERNAL_STORAGE&lt;/code&gt; 打印SD Card Root directory。&lt;/li&gt;&#xA;&lt;li&gt;如果安卓設備上安裝了terminal工具，(比如&lt;a href=&#34;https://play.google.com/store/apps/details?id=jackpal.androidterm&#34;  target=&#34;_blank&#34; rel=&#34;noreferrer&#34;&gt;Terminal Emulator for Android&lt;/a&gt;)，使用指令 &lt;code&gt;ls&lt;/code&gt; 根據經驗篩選可能的目錄。&lt;/li&gt;&#xA;&lt;li&gt;一般而言，SD卡的根目錄可能但不限於以下幾種：&#xA;&lt;ul&gt;&#xA;&lt;li&gt;/mnt/sdcard&lt;/li&gt;&#xA;&lt;li&gt;/storage/sdcard0&lt;/li&gt;&#xA;&lt;li&gt;/storage/sdcard&lt;/li&gt;&#xA;&lt;li&gt;/sdcard&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;h2 class=&#34;relative group&#34;&gt;設置權限&#xA;    &lt;div id=&#34;設置權限&#34; class=&#34;anchor&#34;&gt;&lt;/div&gt;&#xA;    &#xA;    &lt;span&#xA;        class=&#34;absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none&#34;&gt;&#xA;        &lt;a class=&#34;text-primary-300 dark:text-neutral-700 !no-underline&#34; href=&#34;#%e8%a8%ad%e7%bd%ae%e6%ac%8a%e9%99%90&#34; aria-label=&#34;定位點&#34;&gt;#&lt;/a&gt;&#xA;    &lt;/span&gt;&#xA;    &#xA;&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;在 &lt;code&gt;AndroidManifest.xml&lt;/code&gt; 文件中的&lt;code&gt;&amp;lt;uses-sdk&lt;/code&gt;前添加以下語句：&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;div class=&#34;highlight-wrapper&#34;&gt;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-xml&#34; data-lang=&#34;xml&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;ln&#34;&gt;1&lt;/span&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;nt&#34;&gt;&amp;lt;uses-permission&lt;/span&gt; &lt;span class=&#34;na&#34;&gt;android:name=&lt;/span&gt;&lt;span class=&#34;s&#34;&gt;&amp;#34;android.permission.READ_EXTERNAL_STORAGE&amp;#34;&lt;/span&gt; &lt;span class=&#34;nt&#34;&gt;/&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&#xA;&lt;p&gt;通常該文件位於&lt;code&gt;Assets/Plugins/Android/&lt;/code&gt;文件夾內，該配置文件詳解請參閱官方文檔&lt;a href=&#34;https://developer.android.com/guide/topics/manifest/manifest-intro.html&#34;  target=&#34;_blank&#34; rel=&#34;noreferrer&#34;&gt;《App Manifest》&lt;/a&gt;（有中文版）。&lt;/p&gt;</description>
      
    </item>
    
    <item>
      <title>Unity3D製作Cardboard全景VR應用</title>
      <link>https://szeching.com/how-to-make-cardboard-vr-app-with-unity3d/</link>
      <pubDate>Tue, 27 Oct 2015 13:30:51 +0000</pubDate>
      
      <guid>https://szeching.com/how-to-make-cardboard-vr-app-with-unity3d/</guid>
      <description>&lt;h2 class=&#34;relative group&#34;&gt;本文中所使用的軟體&#xA;    &lt;div id=&#34;本文中所使用的軟體&#34; class=&#34;anchor&#34;&gt;&lt;/div&gt;&#xA;    &#xA;    &lt;span&#xA;        class=&#34;absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none&#34;&gt;&#xA;        &lt;a class=&#34;text-primary-300 dark:text-neutral-700 !no-underline&#34; href=&#34;#%e6%9c%ac%e6%96%87%e4%b8%ad%e6%89%80%e4%bd%bf%e7%94%a8%e7%9a%84%e8%bb%9f%e9%ab%94&#34; aria-label=&#34;定位點&#34;&gt;#&lt;/a&gt;&#xA;    &lt;/span&gt;&#xA;    &#xA;&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Unity3D 5.1.2f1 （&lt;a href=&#34;https://unity3d.com/cn/get-unity/download/archive&#34;  target=&#34;_blank&#34; rel=&#34;noreferrer&#34;&gt;官方下載地址&lt;/a&gt;）&lt;/li&gt;&#xA;&lt;li&gt;Unity 版的 Cardboard SDK（&lt;a href=&#34;https://github.com/googlevr/gvr-unity-sdk&#34;  target=&#34;_blank&#34; rel=&#34;noreferrer&#34;&gt;官方下載地址&lt;/a&gt;）&lt;/li&gt;&#xA;&lt;li&gt;Java SE Development Kit 8 （&lt;a href=&#34;https://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html&#34;  target=&#34;_blank&#34; rel=&#34;noreferrer&#34;&gt;官方下載地址&lt;/a&gt;）&lt;/li&gt;&#xA;&lt;li&gt;Android SDK （&lt;a href=&#34;https://developer.android.com/studio&#34;  target=&#34;_blank&#34; rel=&#34;noreferrer&#34;&gt;官方下載地址&lt;/a&gt;）&lt;/li&gt;&#xA;&lt;li&gt;PTGui （可選）&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;h2 class=&#34;relative group&#34;&gt;操作步驟&#xA;    &lt;div id=&#34;操作步驟&#34; class=&#34;anchor&#34;&gt;&lt;/div&gt;&#xA;    &#xA;    &lt;span&#xA;        class=&#34;absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none&#34;&gt;&#xA;        &lt;a class=&#34;text-primary-300 dark:text-neutral-700 !no-underline&#34; href=&#34;#%e6%93%8d%e4%bd%9c%e6%ad%a5%e9%a9%9f&#34; aria-label=&#34;定位點&#34;&gt;#&lt;/a&gt;&#xA;    &lt;/span&gt;&#xA;    &#xA;&lt;/h2&gt;&#xA;&#xA;&lt;h3 class=&#34;relative group&#34;&gt;新建 Unity3D 工程&#xA;    &lt;div id=&#34;新建-unity3d-工程&#34; class=&#34;anchor&#34;&gt;&lt;/div&gt;&#xA;    &#xA;    &lt;span&#xA;        class=&#34;absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none&#34;&gt;&#xA;        &lt;a class=&#34;text-primary-300 dark:text-neutral-700 !no-underline&#34; href=&#34;#%e6%96%b0%e5%bb%ba-unity3d-%e5%b7%a5%e7%a8%8b&#34; aria-label=&#34;定位點&#34;&gt;#&lt;/a&gt;&#xA;    &lt;/span&gt;&#xA;    &#xA;&lt;/h3&gt;&#xA;&lt;p&gt;在Unity中新建一個工程： &lt;code&gt;VRtour&lt;/code&gt;&lt;/p&gt;</description>
      
    </item>
    
  </channel>
</rss>
