[過去ログ]
Unity5質問スレ [転載禁止]©2ch.net (1001レス)
Unity5質問スレ [転載禁止]©2ch.net http://peace.5ch.net/test/read.cgi/gamedev/1436359073/
上
下
前次
1-
新
通常表示
512バイト分割
レス栞
抽出解除
必死チェッカー(本家)
(べ)
自ID
レス栞
あぼーん
このスレッドは過去ログ倉庫に格納されています。
次スレ検索
歴削→次スレ
栞削→次スレ
過去ログメニュー
957: 名前は開発中のものです。 [sage] 2015/10/04(日) 23:29:16.65 ID:3OKxkGIA >>956 これはUnityは関係ないような気がするが…。 public class tests { public int test_number; public Sprite test_Image; public tests(){ int i=0; for(;test[i]!=null&&i<10;i++) if(i<10)test[i]=this; } } とでもやるしかないんじゃねぇか? http://peace.5ch.net/test/read.cgi/gamedev/1436359073/957
958: 名前は開発中のものです。 [sage] 2015/10/04(日) 23:38:34.11 ID:3OKxkGIA つか、 public static tests[] test = new tests[10]; とか Debug.Log (test[0].test_number); はどこで宣言したり呼び出したりしてんのかとか よくわからんよな… http://peace.5ch.net/test/read.cgi/gamedev/1436359073/958
960: 名前は開発中のものです。 [sage] 2015/10/04(日) 23:43:28.58 ID:3OKxkGIA あ〜、いや、つまりあれか、これでわかってないところはこういうことか? public static tests[] test = new tests[10]; public class tests { public int test_number; public Sprite test_Image; } test[0]=new tests(); Debug.Log (test[0].test_number); http://peace.5ch.net/test/read.cgi/gamedev/1436359073/960
メモ帳
(0/65535文字)
上
下
前次
1-
新
書
関
写
板
覧
索
設
栞
歴
スレ情報
赤レス抽出
画像レス抽出
歴の未読スレ
AAサムネイル
Google検索
Wikipedia
ぬこの手
ぬこTOP
0.237s*