2011-07-20から1日間の記事一覧

animation layer アニメーション レイヤー化

//数字が大きい方が動いているときは、そちらが優先して再生される。 function Start () { animation[“idle”].layer = -2; animation["attack01"].layer = 1; }

他のオブジェクト / 別のスクリプト の関数を呼ぶ / 関数呼び出し : GameObject.SendMessage

http://unity3d.com/support/documentation/ScriptReference/GameObject.SendMessage.html // Calls the function ApplyDamage with a value of 5 gameObject.SendMessage ("ApplyDamage", 5.0); // Every script attached to the game object // that has a…

ゲームブログ

良い順 GAME LIFE http://www.game-damashi.com/ .. ..

Island Survival

ステージの選択方法 = プレイヤーが落ちる

unitypackage export 出力

アセット(プレハブやシーン)を右クリック>export package マテリアルでテクスチャを貼ったのなども反映されるので Unityコミュニティの人たちで共有するには良い形式

SS screen capture スクリーンショット

Application.CaptureScreenshot()

オブジェクトをマウスでクリック

Camera.main.ScreenPointToRay(Input.mousePosition);

scene シーン 順番 最初のシーン

file > build settings リスト内にプロジェクトタブからシーンファイルをドラッグアンドドロップ