2014-09-12から1日間の記事一覧
Type.GetFields メソッド http://msdn.microsoft.com/ja-jp/library/system.type.getfields(v=vs.110).aspx System.Reflection.FieldInfo[]が返る。 Type.GetMethods メソッド (BindingFlags) (System) パブリックなアクセサーが少なくとも 1 つはあるプロパ…
user interface - Unity 4.6 - How to scale GUI elements to the right size for every resolution - Stack Overflow ReferenceResolutionコンポーネントを使う。 こうすることで画面サイズに合わせられる。
SkeletonAnimationをアタッチしているGameObject上で行う。 using System; using System.IO; // StringReader using UnityEngine; using System.Collections; using Spine; using System.Linq; public class SpineJsonTest : MonoBehaviour { private Skelet…