강의

멘토링

커뮤니티

Inflearn Community Q&A

allen8409227742's profile image
allen8409227742

asked

C# and Unity, Getting Started with Real Games (Author's Lecture)

2.6 Constructor

class 작성 스크립트와 객체를 생성하는 스크립트가 다른 경우

Written on

·

271

0

2.6 생성자 수업중 ClassExample 파일에 정의해놓은 Human 클래스를 ConstructorExample에서 인스턴스화 시키는게 있는데 각각 다른 스크립트 파일에서 작성하는데 서로 어떻게 참조가 되는건가요?

저는 동일하게 작업했더니 Human클래스를 참조할 수 없다고해서요.

답변 부탁드립니다.

C#unity

Answer 1

0

allen8409227742님의 프로필 이미지
allen8409227742
Questioner

public에 대한 내용이 다음 강의에 나오는군요. 이해했습니다!

allen8409227742's profile image
allen8409227742

asked

Ask a question