오브젝트간 거리 public class GetDistance : MonoBehaviour { public GameObject Other; private float Dist; void Update() { float Dist = Vector3.Distance(this.transform.position, Other.transform.position); Debug.Log("Distance:"+Dist); } } 개발메모 2022.11.11
유니코드 정리 로마자 기본 : 0000-007F 라틴1보충 : 0080-00FF 로마자확장A : 0100-017F 로마자확장B : 0180-024F IPA확장 : 0250-02AF 수식문자 : 02B0-02FF 조합분음기호 : 0300-036F 그리스와콥트문자 : 0370-03FF 키릴문자: 0400-04FF 키릴문자보충 : 0530-058F 히브리문자 : 0591-05F4 아랍문자 : 0600-06FF 시리아문자: 0700-074F 아랍문자: 0750-077F 타나문자: 0780-07B2 응코문자 : 07C0-07FF 아랍확장문자: 08A0-08FF 데바나가리문자: 0900-097F 뱅골문자: 0980-09FE 굴무키문자: 0A81-0AFF 오리야문자: 0B01-0B77 타밀문자: 0B82-0BFA 텔루구문자: 0C.. 개발메모 2022.09.18
WINSCP 접속 안될때(sftp) 종료명령 1 zerossl 인증서 변경후, winscp를 통한 sftp접속이 안되었다. letsencrypt에서 zerossl로 바꿀때도 그랬는데 이번에 3개월 후 인증서 교체시 똑같은 문제가 발생 원인은 모르겠지만, 해결은 했다 ssh로 접속해서 해당 계정 비밀번호 변경, 원래 비밀번호지만 그래도 변경 winscp에서 ftp로 접속하면, 접속이 되는것 같다가 되지 않음 이후 winscp에서 sftp로 변경하여 다시 접속하니까 잘 됨. 개발메모 2022.02.09
texmeshpro (font asset creator) 설정 source font file : NotoSansCJKkrThaiArabic(thin, regular, medium, light, bold, black) atlas resolution : 8192 (한자, 일본어 표현때문) Character set : unicode range (hex) character sequence(hex) 0000-007F,0080-00FF,0100-017F,0180-024F,0250-02AF,02B0-02FF,0300-036F,0370-03FF,0400-04FF,0530-058F,0591-05F4,0600-06FF,0700-074F,0750-077F,0780-07B2,07C0-07FF,08A0-08FF,0900-097F,0980-09FE,0A81-0AFF,0B01-0B77,0B8.. 개발메모 2021.11.24
터치감도 설정 private const float inchToCm = 2.54f; [SerializeField] private EventSystem eventSystem = null; [SerializeField] private float dragThresholdCM = 0.5f; //For drag Threshold private void SetDragThreshold() { if (eventSystem != null) { eventSystem.pixelDragThreshold = (int)(dragThresholdCM * Screen.dpi / inchToCm); } } void Awake() { SetDragThreshold(); } 개발메모 2021.11.18
앱 제거후 재 설치시 PlayerPrefs 삭제가 안되는 경우 안드로이드에서 앱을 제거후 재설치 했음에도 playerprefs 값이 남아있는 경우가 있다. 안드로이드 어느 버전인지는 모르겠으나, 자동 업데이트등의 이유로, 자동 백업기능이 남아 있기 때문이라 한다. 그래서 androidmanifest.xml에서 아래의 빨간 글씨를 추가하여, 빌드하여 문제를 해결 할 수 있다. 개발메모 2021.11.17