인프런 영문 브랜드 로고
인프런 영문 브랜드 로고

Inflearn Community Q&A

godjuno's profile image
godjuno

asked

[MMORPG Game Development Series with C# and Unity] Part 3: Unity Engine

finish

안녕하세요! 한 가지 질문이 있어서 왔습니다!

Written on

·

303

0

한 오브젝트에 자식 오브젝트가 여러개(10개)가 있다고 가정했을때, 4개는 활성화 상태이고, 6개는 비활성화 상태입니다.

 

여기서 활성화(비활성화이든) 자식 오브젝트의 '개수'를 구하는 방법이 있을까요?

 

parent.transform.childCount 는 10개 전부 가져오더라고여;;

unityC#

Answer 1

0

rookiss님의 프로필 이미지
rookiss
Instructor

imageimage구글신의 가호를 받으시면 99%의 문제는 해결할 수 있습니다.

godjuno님의 프로필 이미지
godjuno
Questioner

정말 감사합니다 ㅎㅎ

godjuno's profile image
godjuno

asked

Ask a question