Skip to content

Instantly share code, notes, and snippets.

@heri3x
heri3x / UnityWebApiExample.cs
Created April 4, 2017 15:25
Unity3d - webapi client example using UnityWebRequest or HttpWebRequest
// This code is released as public domain, or under the zlib license.
// このコードはパブリックドメインかzlibライセンス、お好きな方で利用してください。
using UnityEngine;
using System;
using System.IO;
using System.Collections;
using System.Collections.Generic;
using System.Net.Security;
using System.Security.Cryptography.X509Certificates;
{
//新規ファイルの文字コード
//"files.encoding": "utf8",
"files.encoding": "utf8bom",
//文字コードの自動判別
"files.autoGuessEncoding": true,
//インデント方法の自動検出
"editor.detectIndentation": true,
@heri3x
heri3x / build.bat
Created May 9, 2019 07:49
NSIS Unicode Plugin for x86-unicode
@echo Building "unicode.dll"
@CALL "C:\Program Files\Microsoft Visual Studio\2017\Community\Common7\Tools\VsDevCmd.bat"
cl /O1 unicode.c /DUNICODE /D_UNICODE /Gs40960 /GS- /LD /link kernel32.lib user32.lib /NODEFAULTLIB /ENTRY:DllMain
@pause