본문 바로가기
반응형

분류 전체보기31

유니티)firebase 저장소 사용해서 이미지 업로드하기 1. firebase 계정 생성 https://firebase.google.com/ Firebase Firebase는 고품질 앱을 빠르게 개발하고 비즈니스를 성장시키는 데 도움이 되는 Google의 모바일 플랫폼입니다. firebase.google.com 계정과 프로젝트를 생성한다 카테고리에서 빌드 > storage로 이동한다 처음 생성하게되면 시작하기 버튼을 누릅니다. 액세스권한은 생성후에도 수정이 가능하다 2. Firebase Unity SDK https://firebase.google.com/download/unity?hl=ko 위 링크에서 unity용 sdk를 다운받는다. 전 저장소만 쓸거니까 firebaseStorage만 임포트했습니다. 2-1. google-services.json google.. 2023. 5. 31.
유니티) webcamtexture size 16x16 으로 나올때 https://forum.unity.com/threads/webcamtexture-always-return-16-for-width-and-height.327015/ WebcamTexture always return "16" for width and height. Hello, I am really a beginner in Unity world, and struggling with webcam. First of all, I am trying to get an image from my webcam with the code... forum.unity.com 맥이나 ios os일때 이런 오류가 있는것같다. awake 나 start에서 웹캠을 찾고 연결했을때 바로 webcamtexture의 사이즈에 접근하게 될 경.. 2023. 4. 13.
React) 버튼 누르면 값이 바뀌게 하기_useState const [counter, setCounter] = React.useState(0); > 첫번째 파라미터인 counter라는 변수에 useState(n)에서 n이라는 값으로 초기화를 해준다 > 두번째 파라미터인 setCounter라는 함수에서 해당 값을 파라미터 값으로 받는다 [setCounter라는 함수를 ] setCounter((current) => current + 1); > setCounter에서 파라미터로 받은값을 변경하고 그 값으로 counter변수를 세팅해준다 setCounter(counter + 1); > setCounter에서 counter라는 변수에 직접적으로 접근하여 값을 바꿔주고 있다. 둘다 counter가 바뀌는거임 2023. 4. 13.
React) 자동완성 f1 > open user setting(JSON) "javascript": "javascriptreact" 추가 저장 되긴되는데 이게맞아?? 2023. 4. 13.
반응형