유니티(4.6) 에서 C# void Start(){ - TopicsExpress



          

유니티(4.6) 에서 C# void Start(){ thisObjectMainCanvars = new GameObject(MainCanvars, typeof(RectTransform)); thisObjectMainCanvars.AddComponent(); thisObjectMainCanvars.AddComponent(); thisObjectMainCanvars.AddComponent(); //에러부분 thisObjectMainCanvars.transform.parent = thisObjectTransform; } 하면 다음과 같이 에러 납니다. Assets/0.Public/SandraObjectPublic.cs(77,52): error CS0246: The type or namespace name `Image could not be found. Are you missing a using directive or an assembly reference? 근대 해당 코드를 주석 처리하고 유니티 게임을 실행중에 Add Component 눌러서 UI - > Image 하면 잘됩니다. 왜 이럴까요?
Posted on: Fri, 19 Dec 2014 07:13:55 +0000

Trending Topics



>

Recently Viewed Topics




© 2015