tip - .zshrc 변경 후 변경사항 저장 macOS 13 기준 기본 셸은 zsh 이다 따라서 ~/.zshrc 를 수정한다 숨김 파일이기 때문에 파인더에서 shift - command - . 을 입력하여 숨김 파일을 보이게설정 한다. 텍스트 편집기로 열어 원하는 path를 입력한다. export PATH="[경로명]:$PATH" 저장 후 종료 터미널을 오픈하여 source ~/.zshrc 명령어 입력 다음의 명령어를 입력하여 정상적으로 인식 되었는지 확인 echo $PATH development/mac 2023.01.10
tip - [field: SerializeField] [SerializeField] 차이 [SerializeField] : 일반 변수 직렬화 가능 [field: SerializeField] : 일반 변수 뿐만 아니라 프로퍼티도 직렬화 가능 programming/unity 2022.11.10
tip - macOS .NET SDKs 삭제 https://devkimchi.com/2021/11/24/removing-dotnet-sdks-from-macos-manually/ https://www.corecode.io/uninstallpkg/ programming/C# 2022.09.05
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 - Sourcetree 패스워드 계속 요청 되는 경우 환경 macbook air m1 작업 터미널에 아래 명령어 작성 git config --global credential.helper osxkeychain git config --global credential.helper store programming/git 2022.08.05
tip - Visual Studio Code Silicon(M1) 칩 공식 지원 version 1.54 부터 실리콘 칩을 정식 지원 Visual Studio Code February 2021 Learn what is new in the Visual Studio Code February 2021 Release (1.54) code.visualstudio.com 다운로드 방법 1. https://code.visualstudio.com/Download 접속 2. Apple Sillicon 클릭 programming/flutter 2022.02.03
error - 레뷰 Revu 인스타그램 연결시 페이스북 권한 잘못 설정하여 연결 안되는 경우 설정할때 알려주긴 하지만 잘 안읽는 저는 못보고 말았습니다. 설정 - 비즈니스 통합 에 레뷰 삭제 하시고 잠시후 다시 시도 하시면 잘 연결 됩니다 Tip & Issue 2021.09.15
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