LINQ to GameObject is GameObject extensions for Unity that allows traverse hierarchy and append GameObject. The design aims both to get the power of LINQ and performance of iteration.
本記事の最新版はzennに移行しております。 [Unity][C# Script] GameObject の transformコンポーネントを操作するアレコレ zenn.dev UnityでGameObjectを移動させたり、相手を向かせたりする方法についていろいろまとめました。あとめっちゃ簡単にぽよんぽよんさせます。
unityで、子Objectを探し、見つかった場合と、見つからなかった場合で処理を分岐したい時があります。しかし、以下のcodeでは例外でstopしてしまします。 上記の間違いは、以下の一文です。 item = productContainer.transform.Find("product1").gameObject; productContainer.transform ...
LINQ to GameObject is GameObject extensions for Unity that allows traverse hierarchy and append GameObject. The design aims both to get the power of LINQ and performance of iteration.