반응형

분류 전체보기 58

tip - .zshrc 변경 후 변경사항 저장

macOS 13 기준 기본 셸은 zsh 이다 따라서 ~/.zshrc 를 수정한다 숨김 파일이기 때문에 파인더에서 shift - command - . 을 입력하여 숨김 파일을 보이게설정 한다. 텍스트 편집기로 열어 원하는 path를 입력한다. export PATH="[경로명]:$PATH" 저장 후 종료 터미널을 오픈하여 source ~/.zshrc 명령어 입력 다음의 명령어를 입력하여 정상적으로 인식 되었는지 확인 echo $PATH

development/mac 2023.01.10

tip - visual studio for Mac 삭제 및 vscode 셋팅

환경 visual studio for mac [ unity 와 함께 설치 ] macbook air m1 삭제 Mac용 Visual Studio 제거 - Visual Studio for Mac Mac용 Visual Studio 및 관련 도구를 제거하는 방법을 알아봅니다. docs.microsoft.com Document를 따라 스크립트를 다운로드후 sh 확장자로 변경우 이어서 실행한다. 설치 vscode [sillicon] mono .net sdk vscode C# extention 문제 unity 와 사용하기 위해서는 vscode의 Omnisharp: Use Modern 옵션을 끈다

programming/unity 2022.08.05

error - VoiceMeeter bad audio driver installation detected 오류 해결

간단히 헤드셋 볼륨 증폭을 위하여 VoiceMeeter 설치했지만 다음과 같은 에러 발생 bad audio driver installation detected 세부 에러 내용 ERROR MME Output - Bad Pin Name ERROR WDM Input - Bad Pin Icon 1, 아이콘 문제 해결 녹음 탭에서 output 확인 결과 아이콘이 voicemeeter 아이콘이 아니어서 input과 같은 경로로 수정하여 저장함 WDM Input - Bad Pin Icon 에러는 해결됨 2. Device Checker 바꿔치기 아이콘 수정 후에도 오류가 유지되어 검색해보던 중 Device Checker 자체를 수정하는 방법을 찾음 https://forum.vb-audio.com/viewtopic.ph..

Tip & Issue 2021.09.13

c# - 디렉토리 / 파일 유무 체크

해당 경로 존재 여부 파악 후 경로 생성 경로상 파일 여부 파악 후 생성 - 하지만 이름만 같은 빈 파일을 생성 하기 때문에 별도 처리 필요 void DirectoryCheck(string fullPath) { DirectoryInfo di = new DirectoryInfo(fullPath); // 경로 존재 여부 파악 if (!di.Exists) { di.Create(); // 해당 경로 생성 } } void FileCheck(string fullPath) { FileInfo fi = new FileInfo(fullPath); // 경로에 파일 존재 여부 파악 if (!fi.Exists) { fi.Create(); // 해당 경로에 파일 생성 - 다른 처리 진행 } }

programming/C# 2021.09.08

unity - Assets 상위 폴더 경로 가져오기

Assets 상위 경로를 접근 Application.dataPath 를 사용하여 기본 경로를 가져온다 타겟 디바이스 마다 경로가 다르기 때문에 확인 후 사용 [ https://docs.unity3d.com/ScriptReference/Application-dataPath.html ] 본 글은 상위 폴더에 output 폴더 생성을 위하여 사용 using System.IO; public class GetPath : MonoBehaviour { public string path; void Start() { path = Application.dataPath; string newPath = Path.GetFullPath(Path.Combine(path,@"../")); Debug.Log(newPath); } }

programming/unity 2021.09.08
반응형