준이 되는 카메라는, 외부에서 변수 등록할 수 있게 설정
public GameObject targetObject; // 마우스 클릭에 반응할 오브젝트
void Update() {
Raycas... .mousePosition ); // subCamera시점에서 마우스 위치를 ...
// targetObject가 마우스 클릭 지점에 있는지, 클릭한 지점의 위치는 어디인지 얻는다.
if( targetObject.collider.Raycast( _cameraRay, out _hitRet, 40f ) ) {
// 3D 좌표를 저장
target.position = _hitRet.point;
// 어디를 가리키는지 선을 그어본다.
e loaded because it was created for another build target that is not compatible with this platform.
Plea... make sure to build asset bundles using the build target platform that it is used by.
File's Build target is: 13
유니티 버젼: 2019.1.7f1
빌드 타겟을 확인할 수 있는 위치
**Bu
// 안드로이드용 설정
buildPlayerOptions.target = BuildTarget.Android;
buildPlayerOptions...
// 개발 플랫폼 설정
buildPlayerOptions.target = BuildTarget.iOS;
buildPlayerOptions.opt
ct 스크립트를 추가한다.
* UIDragObject 에 드래그 이동을 할 오브젝트를 Target 항목에 설정한다.
* 인스펙터에서 DebugWindow Object를 **UIDragObject**의 **Target** 항목에 추가한다.
실행 결과는, DW_Title을 클릭하면 윈도우를 이동 시킬 수