ニュース

GameObjectの正体とは?Unityの世界を構成する基本ユニット Unityでゲームをつくる上で、GameObjectは レゴブロックのような存在 です。 ブロック(GameObject)にさまざまなパーツ(Component)をくっつけて、初めて“動くオブジェクト”になります。 GameObject=見えるものと見えないものの容器 GameObjectに ...
LINQ to GameObject 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 ...
LINQ to GameObject 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 ...
これは、UnityのGameObject+MeshRendererに相当するものです。 武器を表現するWeaponクラスが必要になった場合はどうしましょう。 そんな時は、MeshInstance3Dクラスを派生してWeaponクラスを定義するといいかもしれません。 (なんか英語的な文章だな) ...