<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:media="http://search.yahoo.com/mrss/">
  <channel>
    <title>Unity | 瓶子裡的小狐狸</title>
    <link>https://szeching.com/tags/unity/</link>
    <description>技術、遊戲、觀察筆記</description>
    <generator>Hugo</generator>
    <language>zh-Hant</language>
    <copyright>© 2026 SZECHING.COM</copyright>
    <lastBuildDate>Sat, 31 Oct 2026 18:06:05 +0100</lastBuildDate>
    <atom:link href="https://szeching.com/tags/unity/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>為單機遊戲打造自主 AI Agent 為何走向結構性潰敗？GK2 自主遊戲 Agent 專案復盤</title>
      <link>https://szeching.com/lessons-from-building-autonomous-game-ai-agent-mod/</link>
      <pubDate>Sat, 31 Oct 2026 18:06:05 +0100</pubDate>
      <guid>https://szeching.com/lessons-from-building-autonomous-game-ai-agent-mod/</guid>
      <description>試圖透過 BepInEx 外掛將單機遊戲改造為全自動 AI Agent：具備環境感知、規則過濾與本地模型決策。但在 107 次版本疊代後，核心驗收通過率不足 5%。本文深入復盤自建導航的阻塞、LLM 帶來的雙重複雜度、以及「先鋪功能再集中除錯」如何演變成一場工程災難。</description>
      <category>AI</category>
      <category>Unity</category>
      <category>BepInEx</category>
      <media:content url="https://szeching.com/images/lessons-from-building-autonomous-game-ai-agent-mod_hu_97ed8deabc57f1b1.webp" medium="image" />
    </item>
    <item>
      <title>圖形庫（Graphics API）簡介</title>
      <link>https://szeching.com/graphics-api-summary/</link>
      <pubDate>Mon, 01 Jun 2020 04:15:25 +0000</pubDate>
      <guid>https://szeching.com/graphics-api-summary/</guid>
      <description>&lt;p&gt;OpenGL (&lt;a href=&#34;https://www.opengl.org/&#34; target=&#34;_blank&#34; rel=&#34;noreferrer&#34;&gt;https://www.opengl.org/&lt;/a&gt;)&#xA;Open Graphics Library 是跨語言跨平台的底層圖形庫，用於渲染2D、3D矢量圖形，由Khronos Group維護。&lt;/p&gt;&#xA;&lt;p&gt;OpenGL ES (&lt;a href=&#34;https://www.khronos.org/opengles/&#34; target=&#34;_blank&#34; rel=&#34;noreferrer&#34;&gt;https://www.khronos.org/opengles/&lt;/a&gt;)&#xA;OpenGL for Embedded Systems 是OpenGL的子集，專為手機等嵌入式設備而設計。&lt;/p&gt;</description>
      <category>Unity</category>
      <media:content url="https://szeching.com/images/fc972595-e738-4bff-8a59-187f3661f80a_hu_8a40bf2d649b3291.webp" medium="image" />
    </item>
    <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 id=&#34;系統环境&#34; class=&#34;anchor group relative&#34;&gt;系統环境：&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;&lt;h2 id=&#34;操作步驟&#34; class=&#34;anchor group relative&#34;&gt;操作步驟：&lt;/h2&gt;&#xA;&lt;h3 id=&#34;准備一個本地綫上mysql數據庫&#34; class=&#34;anchor group relative&#34;&gt;准備一個本地/綫上Mysql數據庫&lt;/h3&gt;&#xA;&lt;p&gt;Y Cheung 的數據庫設置如下：&lt;/p&gt;</description>
      <category>Unity</category>
      <category>Database</category>
      <category>MySQL</category>
      <media:content url="https://szeching.com/images/connect-mysql-database-with-unity3d_hu_b4f8a72ac19a5b29.webp" medium="image" />
    </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 id=&#34;media-play-設置&#34; class=&#34;anchor group relative&#34;&gt;Media Play 設置&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;&lt;h2 id=&#34;找到安卓設備sdcard的根目錄root-path&#34; class=&#34;anchor group relative&#34;&gt;找到安卓設備SDCard的根目錄(ROOT PATH)&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;&lt;h2 id=&#34;設置權限&#34; class=&#34;anchor group relative&#34;&gt;設置權限&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 relative&#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;&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>
      <category>Unity</category>
      <category>Android</category>
      <media:content url="https://szeching.com/images/fc972595-e738-4bff-8a59-187f3661f80a_hu_8a40bf2d649b3291.webp" medium="image" />
    </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 id=&#34;本文中所使用的軟體&#34; class=&#34;anchor group relative&#34;&gt;本文中所使用的軟體&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;&lt;h2 id=&#34;操作步驟&#34; class=&#34;anchor group relative&#34;&gt;操作步驟&lt;/h2&gt;&#xA;&lt;h3 id=&#34;新建-unity3d-工程&#34; class=&#34;anchor group relative&#34;&gt;新建 Unity3D 工程&lt;/h3&gt;&#xA;&lt;p&gt;在Unity中新建一個工程： &lt;code&gt;VRtour&lt;/code&gt;&lt;/p&gt;</description>
      <category>Panorama</category>
      <category>VR/AR</category>
      <category>Unity</category>
      <category>Android</category>
      <media:content url="https://szeching.com/images/20151027featureimg.jpg" medium="image" />
    </item>
  </channel>
</rss>
