Skip to content
Search for easy dinners, fashion, etc.
When autocomplete results are available use up and down arrows to review and enter to select. Touch device users, explore by touch or with swipe gestures.
Unity C# - Accessing Variables from Other Scripts
Explore
an image of a computer screen with text and numbers on the bottom right corner that reads, ` `
futabazemi.net

【Unity C#】他のスクリプトの変数を取得する - プログラミング教室 フタバゼミ

他のオブジェクトにあるスクリプトの変数を取得する方法について、3パターン試してみましょう。instanceを使う、Findで参照する、直接フィールドに入れるといった方法で、他のオブジェクトにあるスクリプトの変数を取得してみました。
akio_ASfactory
akio_ASfactory

Comments