[過去ログ]
【ゲームエンジン】Unity初心者質問スレBuild1 (1002レス)
【ゲームエンジン】Unity初心者質問スレBuild1 http://mevius.5ch.net/test/read.cgi/gamedev/1528249519/
上
下
前次
1-
新
通常表示
512バイト分割
レス栞
抽出解除
レス栞
このスレッドは過去ログ倉庫に格納されています。
次スレ検索
歴削→次スレ
栞削→次スレ
過去ログメニュー
554: 名前は開発中のものです。 [] 2018/09/16(日) 14:20:30.96 ID:dLLBcIBT public class Spherr : MonoBehaviour { GameObject cube; // Use this for initialization void Start () { cube = GameObject.Find("Cube"); } // Update is called once per frame void Update () { Cube ref = cube.GetComponent<Cube>(); } } public class Cube : MonoBehaviour { // Use this for initialization void Start () { } // Update is called once per frame void Update () { } void aaa() { } } こう書いたけどaaaがSpherr でやっぱ呼び出せない http://mevius.5ch.net/test/read.cgi/gamedev/1528249519/554
557: 弟子 ◆rZPPjYuxmQ [sage] 2018/09/16(日) 14:55:52.06 ID:LNRMkHTN >>554 自分の環境(2018.2.2f1)だと、refって名前ダメみたいね とりま、これで行けました https://i.gyazo.com/1f7eb2279eaae4c5ef6e2a770fc3b7bd.png https://i.gyazo.com/3daa31d379cd0fe022eca2e1e33e99b2.png Private関数の呼び出しについてはsendmessageでやってます どちらでもお好きなように http://mevius.5ch.net/test/read.cgi/gamedev/1528249519/557
メモ帳
(0/65535文字)
上
下
前次
1-
新
書
関
写
板
覧
索
設
栞
歴
スレ情報
赤レス抽出
画像レス抽出
歴の未読スレ
AAサムネイル
Google検索
Wikipedia
ぬこの手
ぬこTOP
0.028s