180bpm

UnityEditor class를 import 해서 만든 컴포넌트를 실행했을때 오류 나는 경우 본문

Develop/Unity

UnityEditor class를 import 해서 만든 컴포넌트를 실행했을때 오류 나는 경우

powdersnow 2015. 1. 16. 12:46



error CS0246: The type or namespace name `UnityEditor' could not be found. Are you missing a using directive or an assembly reference?


1. 개요

CI구성중 Jenkins job 테스트를 위해 빌딩만 되는 간단한 프로젝트를 하나 만듬. 

전에 만들어뒀던 커맨드라인으로 쓸 빌딩 클래스 옮겨붙임.


2. 상황

버튼을 누르는데 자꾸 에러남.


3. 해결

Editor 폴더 밑에 없어서 그랬음.

전처리기랑은 관계 없다.


http://forum.unity3d.com/threads/problem-with-unityeditor.49034/#post-1223837


끝.

Comments