2014-05-20から1日間の記事一覧
Texture2D image = new Texture2D (width, height); でやると背景が透明ではない。URL: http://answers.unity3d.com/questions/221301/unity-35-new-texture2d-not-transparent.html を参考にイケる。 ここはUnityScriptでそもそも間違ってたが、C#で書き換…
Dictionary dict<String, String> = new Dictionary<String, String>(); dict.Add("follow", "true"); dict.Add("screen_name", ConstantValue.TWITTER_ACCOUNT); #if UNITY_ANDROID TwitterAndroid.performRequest("POST", "/1.1/friendships/create.json", dict); #elif UNITY_IPHONE Twitt</string,></string,>…
TextureImporter importer = AssetImporter.GetAtPath (path)as TextureImporter; などでimporterの変数に入ってることを想定。Read/Write Enabledのチェックしたい。 importer.isReadable = true; っと思ったが、出来ない。 見た目上はチェックが入るが、Re…