New: unitykrunityprojectAll contenthive-129948hive-196917krhive-150122zzanhive-188619hive-180932steemhive-185836hive-183959hive-166405photographyhive-144064hive-183397hive-145157uncommonlabhive-101145hive-184714hive-165987hive-103599lifehive-109690hive-193637hive-154900hive-139150TrendingNewHotLikersbustbit (25)in unitykrunityproject • 7 years ago유니티(unity) 오브젝트 파괴/파편 (Collider/Rigidbody 이용)2편1편에서 GetComponentsInChildren 을 이용해서 자식 오브젝트들의 컴퍼넌트에 접근했습니다. 파괴되는 오브젝트 종류가 물통 한 종류도 아니고, 여러개의 또는 몇 십개의 파괴 오브젝트에 "Box Collider", "Rigidbody"를 수동으로 컴퍼넌트 추가를 하려니 이것도 비효율적입니다. 스크립트를 이용해서 자식 오브젝트에…