青空の月

PHP, Unity, C#, アプリ開発関連について。

2013-03-01から1ヶ月間の記事一覧

colorの初期化

Color.clearは RGBA is (0, 0, 0, 0) つまり、黒の透明になる。 http://unity3d.com/support/documentation/ScriptReference/Color-clear.html

ケリ姫スイーツみたく背景を動かす

renderer.material.SetTextureOffseを使うと簡単に実装できる。http://docs.unity3d.com/Documentation/ScriptReference/Material.SetTextureOffset.html using UnityEngine; using System.Collections; public class example : MonoBehaviour { public floa…

はてなブログでsyntaxhighlighterを使う

サイドバーにHTMLを追加して以下を入力。 // 記事を書くときにHTML編集でpreタグでコードを記述。対象言語はclassで指定する <pre class="brush:js;"> //コードを記述</pre> 対象言語を増やしたい時は読み込むjsファイルを増やせばOK。 https://github.com/alexgorbatchev/SyntaxHighlight…

画像てすと

てすと

test

test unity公式サイト http://japan.unity3d.com/unity/ //