Unity(WebGL)のC#とブラウザのJavaScriptの連携方法をまとめました。 1. Unity(WebGL)のC#とブラウザのJavaScriptの連携 Unity(WebGL)のC#とブラウザのJavaScript連携させることで、次のようなことを実現できます。 ・Unity(WebGL)からHTMLテンプレート上の他の要素を操作。 ・Unity ...
SendMessage is a known trap for hard to maintain. An alternative way is leveraging interfaces with GetComponents<T>. This package consists of a group of extension API to simplify the approach. Notice ...
そのうちアドベンチャーゲーム的な奴を作りたいなーと思っているのだけれど、そのためには会話シーンの実装は必須だ。あと、会話中のキャラクター達に何らかの動きをさせる必要もあるだろう。 それをどう実現すべきかなーというのが今回の趣旨。
Emblematic example of these bad choices is the communication system built around SendMessage and BroadcastMessage. If you use them, you should just stop already! In fact SendMessage and ...