Skip to content

Instantly share code, notes, and snippets.

@mumoshu
mumoshu / Unity+WebSocket.cs
Created August 31, 2011 16:13
Unity+WebSocket.cs
using UnityEngine;
using System.Collections;
using SuperWebSocket.Client;
using System;
public class Net : MonoBehaviour {
private string lastMessage = string.Empty;
public static string serverURI = "ws://192.168.100.196:12345/channels/0?userId=1";
public static WebSocket webSocket = new WebSocket(serverURI, "basic");
@emoacht
emoacht / UnityWebRequestUsage.cs
Created December 31, 2015 22:57
Sample usage of UnityWebRequest
using System.Collections;
using UnityEngine;
using UnityEngine.Experimental.Networking;
public class UnityWebRequestUsage : MonoBehaviour
{
void Start()
{
StartCoroutine(GetText());
}
@supachailllpay
supachailllpay / UnityObjectLoader
Last active May 21, 2024 05:42
Load .obj and .mtl in Unity at runtime
Load .obj and .mtl in Unity at runtime