2013-05-01から1ヶ月間の記事一覧
たとえばInspector上の値について、 transform.localEulerAngles.y のように取得したものと同じ値になる。 transform.localRotaion.y ではない。
URL: http://stackoverflow.com/questions/5669905/sqlite-with-encryption-password-protectionSEE(有料?) - The official implementation. wxSQLite - A wxWidgets style c++ wrapper that also implements SQLite's encryption. SQLCipher(有料?) -…
注意! ~/Library/MonoDevelop-Unity-2.8 の人限定 cd ~/Library/MonoDevelop-Unity-2.8 git clone https://github.com/anchan828/monodevelop-code-template-unity-csharp.git mv monodevelop-code-template-unity-csharp/Snippets . rm -rf monodevelop-co…
http://haxe.org/download・HelloWorldのやり方 http://haxe.org/doc/start/jsやってみた、まずは Javaのようなソースを書く。拡張子は「.hx」 ・Text.hx class Test { static function main() { trace("Hello World!"); } } XHTMLファイルを作成する。 Test…
MonoBehaviour.OnApplicationPauseはコルーチンになります。 URL: http://docs.unity3d.com/Documentation/ScriptReference/MonoBehaviour.OnApplicationPause.htmlyieldは使える
$ pip install rython Downloading/unpacking rython Downloading rython-0.0.1.tar.gz Running setup.py egg_info for package rython warning: no files found matching '*' under directory 'tests' Installing collected packages: rython Running setup…
参考URL: http://answers.unity3d.com/questions/213108/rotate-camera-around-object.html using UnityEngine; using System.Collections; public class CameraAnimation : MonoBehaviour { private Transform myTransform; public Transform target; publi…
ボタンでのRectは便利だが、少し使いづらいoriginRectにRectがあると想定してこう使えるようなる拡張作った URL: https://gist.github.com/shinriyo/5652200 if (GUI.Button (originRect, "Push")) { // do something }
http://forum.unity3d.com/threads/122961-Where-is-mobile-specular-shader
※プロ版だけ設定メニュー 設定する。これで強制的にテキストになる
同じGameObjectに対してアニメーションするときに Animation myAnim = animation; myAnim.Play("HOGE"); myAnim.Play("BAR"); にしたら、二番目のBARのアニメーションが優先され、HOGEは実行されなくなってしまう。 ※myAnimの変数に入れているのはパフォーマ…
フォーラムから拝借したが、たいていはPython2.x系なので3.x系を使用しているBlenderでもできるようにした。あってるかな? import bpy #------------------------------------------------------------------------------ # return polygon number #-------…
アプリ内課金で「Google In App Billing Version 3」を使用したときのこと。「Google play」の「Developer Console」で商品の情報を更新して、 getSkuDetails()で商品情報を取得したときの情報の更新が遅い。しかし、実際の購入するときの情報は更新されてい…
Scenesのフォルダ構成を変える場合は、SceneOverlayを書き換える必要がある。このようにフォルダ構成をかえて、各シーンをBase配下に配置した。 この場合、以下のようにLoadScenesToOverlayメソッドを書き換えるSceneOverlay.cs(私が書き換えたC#版です。) p…
Certificate identity 'iPhone Developer: Bar Hoge (9999)' appears more than once in the keychain. The codesign tool requires there only be one.このエラーがうざい。なぜかキーチェーンアクセス(Keychain Access)がゾンビのようによみがえる。参考…
http://forum.unity3d.com/threads/104881-Unable-to-install-APK
こちらにはUnityScriptで書いてある。 http://forum.unity3d.com/threads/48601-Swipe-help-pleaseしかし、UnityScriptは悪い習慣なのでC#に置き換えてみたURL: https://gist.github.com/shinriyo/5572375
「中の虫などいない」さんのブログをそのまま真似しました。 URL: http://enginetrouble.blog136.fc2.com/blog-entry-252.html単なる二番煎じじゃなくてスクショ取った。どこにメニューが有るか探すのに苦労したので。1. 「Shader Editor」を開く2. [File]→[…
今更だが、keijiroさんのシーンをマージするものを使ってみた URL: http://radiumsoftware.tumblr.com/post/6412707889BG, Level, Systemの3つあるけど、どのシーンを選んでも1つになる。「Scene Merger」というGameObjectで、「SceneMerger.js」がアタッチ…
今更だが、keijiroさんのシーンをマージするものを使ってみた URL: http://radiumsoftware.tumblr.com/post/6412707889BG, Level, Systemの3つあるけど、どのシーンを選んでも1つになる。
1. 各プラグインで使っているファイルをメモしておくどのプラグインがどのファイルを使っているのかを残しておけば、 不要になった時もどのファイルを消したりするかが分かりやすい iOS, Android用も問わず記載したAndroidManifest.xmlもメモするのも良い2.C…
URL: http://u3d.as/content/strumpy-games/strumpy-shader-editor/1C4シェーダのエディタ
・強火で進め http://d.hatena.ne.jp/nakamura001/20130208/1360346901・ShaderLab http://marupeke296.com/UNI_S_No2_ShaderLab.html・ゲームは初心者にやさしく http://gamesonytablet.blogspot.jp/2012/08/unity_25.html
new したものの引数 URL: http://www.dotnetperls.com/copy-dictionary
アカウント情報を確認できませんでした。この問題を解決するにはwallet.google.com/manageにアクセスして下さい。[BM-PP-20]ググっても全然ヒットしない。おそらくGooglePlayの課金用アカウントを登録してないときに発生する?
Time.realtimeSinceStartupを使う。 URL: http://docs.unity3d.com/Documentation/ScriptReference/Time-realtimeSinceStartup.htmlTime.timeではない。そもそもTime.timeは何?
URL: http://www.dotnetperls.com/list-concat上記のを抜粋したが、最後にToListしないとキャストに失敗(invalid cast exception)と怒られます List<string> list1 = new List<string>(); list1.Add("dot"); list1.Add("net"); List<string> list2 = new List<string>(); list2.Add("perls");</string></string></string></string>…
URL: https://github.com/TechEmpower/FrameworkBenchmarks/tree/master/gemini ベンチマーク結果 http://tech.a-listers.jp/2013/05/06/web-framework-benchmark/
URL: https://github.com/dilshod/UpdateXcode USE_DISPLAY_LINK_IF_AVAILABLEの置き換えをしたい・まず、replace_file(置き換え元, 置き換えるファイル)メソッド追加 def replace_file(self, path_to_old_file, path_to_replace_file, relative_path = True…
URL: http://forum.unity3d.com/threads/95897-PVRSRVEventObjectWait-TimeoutAdreno 205などの古いGPUドライバは、フラグメントシェーダの clip() 昨日がサポートされてない?(おそらく"Hard Clip"など)NGUIの"Alpha Clip" or "Soft Clip" シェーダを使う…