DYMN's diary

この広告は、90日以上更新していないブログに表示しています。

2014-02-19

インスペクタ側から値を設定するビルトイン配列:Builtin Array

Unity プログラム 備忘録 ゲーム

スクリプト側でpublicの配列の宣言のみするとインスペクタ側でサイズ(要素数)および配列要素の中身を設定可能。

public GameObject[] ItemInstances;

f:id:DYMN:20140219002337p:plain

DYMN 2014-02-19 00:23

インスペクタ側から値を設定するビルトイン配列:Builtin Array
Bookmark this entry on Hatena::Bookmark
Tweet
Remove all ads
  • Read more
Write a comment
« スクリプトからゲームオブジェクトにコン… 他スクリプト内の関数を使用する:GetComp… »
Profile
id:DYMN id:DYMN
Subscribed unsubscribe Subscribe Subscribe
Search
Links
  • Hatena Blog
  • ブログをはじめる
  • Weekly Hatena Blog
  • Hatena Blog Pro
Recent Entries
  • Unity - Playモード中に生成したオブジェクトをSceneに残す
  • Unity - ドアを使ってSceneを移動する
  • Unreal Engine - 別のBlueprintからBlueprintを呼び出す(CustomEvent使用)
  • 艦これ - 春イベント突破
  • Unreal Engine - エラー対応
Archive

Start using Hatena Blog!

DYMN is using Hatena Blog. Would you like to try it too?

Start using Hatena Blog (Free)
What is Hatena Blog?
DYMN's diary DYMN's diary

Powered by Hatena Blog | ブログを報告する

Star added

Quote saved.

Login to quote this blog

Failed to save quote. Please try again later.

You cannot quote because this article is private.

Subscribed unsubscribe Subscribe Subscribe