[InitializeOnLoad]
public class SometingEditor
{
static SometingEditor()
{
}
}
유니티의 컴파일 시점에서 SometingEditor의 생성자가 작동한다.
'Work' 카테고리의 다른 글
temp (0) | 2020.07.02 |
---|---|
유니티 익스포트시 gradle에 추가 (0) | 2017.09.19 |
유니티 안드로이드 익스포트 에러 (0) | 2017.09.19 |
[InitializeOnLoad]
public class SometingEditor
{
static SometingEditor()
{
}
}
유니티의 컴파일 시점에서 SometingEditor의 생성자가 작동한다.
temp (0) | 2020.07.02 |
---|---|
유니티 익스포트시 gradle에 추가 (0) | 2017.09.19 |
유니티 안드로이드 익스포트 에러 (0) | 2017.09.19 |
vsix 사용 (0) | 2020.09.16 |
---|
LRESULT 클래스명::OnNcHitTest(CPoint point) {
로 변경해주시면 됩니다.
VS6와 Visual Studio 2008 양쪽의 호환성을 원하시는 분들은 전처리기를 사용하여 Header는
#if _MSC_VER > 1400
afx_msg LRESULT OnNCHitTest(CPoint point);
#else
afx_msg UINT OnNCHitTest(CPoint point);
#endif
로 변경하고 cpp는
#if _MSC_VER > 1400
LRESULT 클래스명::OnNcHitTest(CPoint point) {
#else
UINT 클래스명::OnNcHitTest(CPoint point) {
#endif
으로 변경해주시면 VS6, Visual Studio 2008 어디서든 에러 없이 사용하실 수 있습니다.