CS0117: `Camera' does not contain a definition for `main'
์ด ์ค๋ฅ์ธ๋ฐ, ์ ๊ฐ ์ด ์์ ๊ฐ๋ฐ์๋ถ๊ป ๋ฉ์ผ๋ก ๋ณด๋ด๋๊น,
"I think the problem is that you have created a custom class named Camera. This will cause conflicts with the unity class that is also named Camera.ย
Try to rename your class or put it in a namespace. "
๋ผ๊ณ ๋ต์ฅ์ด ์์ต๋๋ค. ๋ฌผ๋ก , ์ ๋ ๋ฌด์จ ๋ง์ธ์ง๋ ๋ชจ๋ฅด๊ฒ ๋ค์. ๊ฒ์ํด๋ ์ ์ ์๋ ๋ง๋ค๋ง ์๊ณ ...
์ ๋ต์ฅ๋ด์ฉ์ ๋์ด Camera ๋ผ๋ ํด๋์ค๋ฅผ ๋ง๋ค์ด์ ๊ธฐ์กด์ ์ ๋ํฐ Camera ํด๋์ค๋ ์ถฉ๋ ์ผ์ผํจ๋ค๋๋ฐ์
์ ๋ณด// ๊ฐ์ฌํฉ๋๋ค. ๊ทธ... ํด๋์ค๋ ์ด๋์ ์์ ํ๋ ์ง ์์๋์?
์นด๋ฉ๋ผ ํด๋์ค ๋ง๋์ ๊ฑฐ ๋ง์ผ๋ฉด Camera.csํ์ผ ์ด์ด์ class Camera ๋ถ๋ถ์ class myCamera ์ด๋ฐ์์ผ๋ก ๋ฐ๊พธ์ ์ผ์ฃ ํ์ผ์ด๋ฆ๋ ๋๊ฐ์ด ๋ฐ๊พธ๊ณ
์ ๋ณด// ํด๊ฒฐ๋๋ค์. ๊ฐ์ฌํฉ๋๋ค:D