Skip to content

Instantly share code, notes, and snippets.

View asus4's full-sized avatar
:octocat:
Working from home

Koki Ibukuro asus4

:octocat:
Working from home
View GitHub Profile
// Win32Apiを使用しているためWindowsのみサポート
using UnityEngine;
using UnityEditor;
using System.Runtime.InteropServices;
using System;
using System.Collections.Generic;
//Version 0.21 | twitter:@izm update for DK2
//Version 0.2 | s.b.Newsom Edition
*.pyc
*.diff
@TonnyXu
TonnyXu / include.h
Created September 18, 2011 06:22
the #include directive
// Refer to http://msdn.microsoft.com/en-us/library/36k2cdd4(v=vs.80).aspx
/* Tonny's NOTE
* ------------
* Sep 18, 2011
*
* 1. このファイルが存在しているフォルダ ->
* 2. "header.h"をインクルードしたその他のファイルが存在しているフォルダ ->
* 3. コンパイラの /I に指定したフォルダ ->
* 4. 環境関数のINCLUDEに指定したフォルダ
@keijiro
keijiro / AndroidManifest.xml
Created November 25, 2011 04:56
Development Player Android Manifest file (Unity 3.4.2)
<?xml version="1.0" encoding="utf-8"?>
<manifest
xmlns:android="http://schemas.android.com/apk/res/android"
package="com.unity3d.player"
android:installLocation="preferExternal"
android:versionCode="1"
android:versionName="1.0">
<supports-screens
android:smallScreens="true"
android:normalScreens="true"
#!/usr/local/bin/macruby
require 'rubygems'
require 'xcodeproj'
projpath = ARGV[0] + "/Unity-iPhone.xcodeproj"
proj = Xcodeproj::Project.new(projpath)
proj.targets.each do |target|
next unless target.name == "Unity-iPhone"
target.buildConfigurations.each do |config|
@asus4
asus4 / CreateTool.cs
Last active October 6, 2015 09:08
Editor Utility Tool
using UnityEngine;
using UnityEditor;
using System.Collections;
/// <summary>
/// Editor Utility tool.
/// author koki ibukuro
/// </summary>
public class CreateTool : ScriptableObject {
@asus4
asus4 / ModelAnimationSpliter.cs
Last active October 6, 2015 14:58
Split Model Animation with CSV
using UnityEngine;
using UnityEditor;
using System.Collections.Generic;
/// <summary>
/// Model animation spliter.
/// by Koki Ibukuro @asus4
/// </summary>
public class ModelAnimationSpliter : EditorWindow {
TextAsset csvAsset;
@akisute
akisute / PostprocessBuildPlayer.rb
Created September 25, 2012 06:05
Adds weak frameworks as well as required frameworks in PostprocessBuildPlayer of Unity using Ruby
#!/usr/bin/env ruby
#
# PostprocessBuildPlayer
# Tested on Ruby 1.8.7, Gem 1.3.6, and xcodeproj 0.3.0
# Created by akisute (http://akisute.com)
# Licensed under The MIT License: http://opensource.org/licenses/mit-license.php
#
require 'rubygems'
require 'xcodeproj'
require 'pathname'
@asus4
asus4 / .gitignore
Last active December 10, 2015 23:19
Unity .gitignore
Library
Temp
*.csproj
*.sln
*.pidb
*.userprefs
*.unityproj
@onevcat
onevcat / ObjectPrivate.cs
Created March 27, 2013 11:47
Get/Set/Call private things.
//
//
// Created by Wang Wei(@onevcat) on 2013-3-27.
// Copyright (c) 2013 Kayac. All rights reserved.
//
using System;
using System.Reflection;
public static class ObjectPrivate {
public static T GetPrivateField<T>(this object obj, string name)