using UnityEngine;
using System.Collections;
public class Test : MonoBehaviour {
黃彥霖 發表在 痞客邦 留言(1) 人氣(644)
// 回傳 Color32 版本
using UnityEngine;
using System.Collections;
public class Test3 : MonoBehaviour {
黃彥霖 發表在 痞客邦 留言(0) 人氣(1,167)

基本版:
using UnityEngine;
using System.Collections;
using System.Text.RegularExpressions;
using System;
using System.Text;
黃彥霖 發表在 痞客邦 留言(0) 人氣(997)
using UnityEngine;
using System.Collections;
public class RamTest : MonoBehaviour {
黃彥霖 發表在 痞客邦 留言(0) 人氣(993)

工具列會出現 Loli/Moe 選項,點下去會列印 Moe
執行結果:
// 方法一定要宣告成 static 才行
黃彥霖 發表在 痞客邦 留言(0) 人氣(938)
Java Server (會使用 org.json):
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.OutputStreamWriter;
import java.io.PrintWriter;
import java.net.ServerSocket;
import java.net.Socket;
import org.json.JSONObject;
黃彥霖 發表在 痞客邦 留言(0) 人氣(1,208)
到 UICamera.cs 中尋找 Awake() 函式方法,並把 useKeyboard 改為 true
可按造自己需求做修改:
useTouch = true;
useMouse = true;
useKeyboard = true;
useController = true;
黃彥霖 發表在 痞客邦 留言(0) 人氣(131)
//--------------------------------------------------- Test.cs
using UnityEngine;
using System.Collections;
using System.IO;
using System.Threading;
黃彥霖 發表在 痞客邦 留言(0) 人氣(941)
// 把這個腳本套用在攝影機中,沒意外左上角會出現攝影機照出來的貼圖
using UnityEngine;
using System.Collections;
public class NewBehaviourScript : MonoBehaviour {
黃彥霖 發表在 痞客邦 留言(1) 人氣(1,410)
修改 pg_hba.conf 檔案
加入可訪問的 IP 地址,如下:
-------------------------------------------
# TYPE DATABASE USER ADDRESS METHOD
黃彥霖 發表在 痞客邦 留言(0) 人氣(331)