View development.json
{ | |
"websocket" : { | |
"port" : 9999 | |
}, | |
"logging" : true, | |
"const" : { | |
"env" : "development", | |
"ver" : "9999" |
View example.js
var WebSocket = require('websocket').server, | |
Http = require('http'), | |
Config = require('config'); | |
console.log("========= Start ==========="); | |
console.log(new Date()); | |
console.log("NODE_ENV="+process.env.NODE_ENV); | |
console.log("NODE_PATH="+process.env.NODE_PATH); |
View UnityEditor.txt
###################################### | |
UnityEditor.PlayerSettings | |
static function | |
-------------------------------------------------- | |
Boolean get_visibleInBackground() | |
Void set_visibleInBackground( Boolean value ) | |
-------------------------------------------------- | |
View UnityEditor.txt
###################################### | |
UnityEditor.PlayerSettings | |
static function | |
-------------------------------------------------- | |
Boolean get_d3d11ForceExclusiveMode() | |
Void set_d3d11ForceExclusiveMode( Boolean value ) | |
-------------------------------------------------- |
View DragAndDropTest.cs
using UnityEngine; | |
using UnityEditor; | |
using System.Collections; | |
using System.Collections.Generic; | |
using System.IO; | |
public class DragAndDropTest : EditorWindow | |
{ | |
// Add menu item to the Window menu |
View FileIconTest.cs
using UnityEngine; | |
using UnityEditor; | |
using System.Collections; | |
using System.Collections.Generic; | |
public class FileIconTest : EditorWindow { | |
Vector2 scrollPosition; | |
[MenuItem ("Window/File Icon")] |
View FileIconTest.cs
using UnityEngine; | |
using UnityEditor; | |
using System.Collections; | |
using System.Collections.Generic; | |
public class FileIconTest : EditorWindow { | |
Vector2 scrollPosition; | |
[MenuItem ("Window/File Icon")] |
View FileIconTest.cs
using UnityEngine; | |
using UnityEditor; | |
using System.Collections; | |
using System.Collections.Generic; | |
public class FileIconTest : EditorWindow { | |
Vector2 scrollPosition; | |
[MenuItem ("Window/File Icon")] |
View TrustAllCertificatePolicy.cs
public class TrustAllCertificatePolicy : System.Net.ICertificatePolicy | |
{ | |
public TrustAllCertificatePolicy() { } | |
public bool CheckValidationResult(System.Net.ServicePoint sp, | |
System.Security.Cryptography.X509Certificates.X509Certificate cert, | |
System.Net.WebRequest req, | |
int problem) | |
{ | |
return true; |
OlderNewer