에디터 모드에서는 정상동작되지만 안되는 기능들...
- 다중 클래스의 파싱
ex)
- 테이터테이블을 사용할수 없음..
-> Dicitonary 사용
- float unrepresentable in integer range 오류
- int 변수에 이상한값이 들어가서 발생한 문제로, 에디터에서는 오류로 표시안함.
범위를 벗어나는 값이 셋팅될수 있다면 무조건 체크
아. 나누기 분모가 0이였는데 에디터모드에서는 왜 통과되니??!!!
5시간 찾았다..
유니티에선 이걸 Infinity로 처리해서 통과된다.
- Jint 사용시 Public 프로퍼티는 적용이 되지 않는다. 직접 변수에 SetValue 해서 사용해야한다.
Jint.Engine eg = new Jint.Engine();
var t1 = new TestClass();
eg.SetValue("This", t1).Execute("This.Text = \"성공\";");
test1 = t1.Text;
var t2 = new TestClass();
eg.SetValue("This", t2).Execute("This._text = \"성공\";");
test2 = t2.Text;
var t3 = new TestClass();
eg.SetValue("This", t3).Execute("This.PrivateText = \"성공\";");
test3 = t3.Text;
var t4 = new TestClass();
eg.SetValue("This", t4).Execute("This._privatetext = \"성공\";");
test4 = t4.Text;
댓글 없음:
댓글 쓰기