This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Run()関数内の処理を記述 | |
// 外部クラスの活用などは一般形式のスクリプトコードを使用してください. | |
// プラグイン変数は IPERunArgs args を通して取得可能 | |
// コードに自動的に追加されるヘッダ/フッタはメニューから有効化/確認が可能(ヘッダは標準で有効設定) | |
// 選択された頂点データの取得 | |
int[] si = args.Host.Connector.View.PMDView.GetSelectedVertexIndices(); | |
MessageBox.Show(si.Length.ToString()); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Run()関数内の処理を記述 | |
// 外部クラスの活用などは一般形式のスクリプトコードを使用してください. | |
// プラグイン変数は IPERunArgs args を通して取得可能 | |
// コードに自動的に追加されるヘッダ/フッタはメニューから有効化/確認が可能(ヘッダは標準で有効設定) | |
// ファイルの指定 | |
var enc = System.Text.Encoding.GetEncoding("Shift_JIS"); | |
var path = Path.GetDirectoryName(Assembly.GetEntryAssembly().Location) + "\\" + @"input.csv"; | |
var strs = new List<int>(); // 一時的な文字列 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
using System.Collections; | |
using System.Collections.Generic; | |
public class KnobScript : MonoBehaviour | |
{ | |
public enum ControllType | |
{ | |
TranslateY, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
using System.Collections; | |
using System.Text; | |
using System; | |
using System.IO; | |
using System.Collections.Generic; | |
using System.Security.Cryptography; | |
using Amazon.S3.Transfer; | |
using Amazon.S3; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'sinatra/base' | |
require 'sinatra/reloader' | |
require 'slim' | |
class Server < Sinatra::Base | |
register Sinatra::Reloader | |
get '/' do | |
slim :index | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#-*- encoding: utf-8 | |
require 'sinatra/base' | |
require 'sinatra/reloader' | |
require 'slim' | |
require 'aws-sdk' | |
require './access_secret.rb' | |
class Server < Sinatra::Base |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
using System.Collections; | |
using System.Text; | |
using System; | |
using System.IO; | |
using System.Collections.Generic; | |
using System.Security.Cryptography; | |
using System.Linq; | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#-*- encoding: utf-8 | |
require 'sinatra/base' | |
require 'sinatra/reloader' | |
require 'slim' | |
require 'aws-sdk' | |
require 'base64' | |
require './access_secret.rb' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
using System.Collections; | |
using System.Text; | |
using System; | |
using System.IO; | |
using System.Collections.Generic; | |
using System.Security.Cryptography; | |
using System.Linq; | |
public class ScreenShotScript : MonoBehaviour |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function ShowTweetButton(args) { | |
var splited = args.split("!"); | |
var vurl = splited[0]; | |
var vfname = splited[1]; | |
var vdata = splited[2]; | |
$.ajax({ | |
url: "http://localhost:4567/post", | |
type: "post", | |
data: { |
OlderNewer