![](http://i1.daumcdn.net/thumb/C148x148/?fname=https://blog.kakaocdn.net/dn/bCIkjh/btsFK6GuXpM/yvFAxiWoV6trwwkZfEB0S1/img.png)
WindowsVideoMedia error unhandled Color Standard: 0 falling back to default this may result in rendering issues 이슈 해결 방법 buildSettings->playerSettings->OtherSettings->Rendering->Color Space* 을 Gamma로 설정 영상파일 선택->Ovverride for Standalone 체크 -> Transcode 체크->Codec VP8 선택 후 Apply 참고링크 https://forum.unity.com/threads/windowsvideomedia-error-unhandled-color-standard-0-falling-back-to-default-this-may..
![](http://i1.daumcdn.net/thumb/C148x148/?fname=https://blog.kakaocdn.net/dn/bYBvBg/btsFlVY08Wr/DCu7gluEKClRdjsI8uxtJ1/img.png)
#iTextSharp 5.0 사용 -패키지매니져 NuGet\Install-Package iTextSharp -Version 5.5.13.3 -다운로드 경로 https://drive.google.com/file/d/1mw700dU_6L8yDe4GNh8cn384Tkyg5jjc/view?usp=sharing itextsharp.dll drive.google.com 해당 DLL 유니티 폴더 복사 후 사용 -코드 public void CreatePdf(string path) { Document document = new Document(); PdfWriter.GetInstance(document, new FileStream(path, FileMode.Create)); document.Open(); document..
#어셋 Native Gallery 이용 https://assetstore.unity.com/packages/tools/integration/native-gallery-for-android-ios-112630 Native Gallery for Android & iOS | 기능 통합 | Unity Asset Store Use the Native Gallery for Android & iOS from yasirkula on your next project. Find this integration tool & more on the Unity Asset Store. assetstore.unity.com #코드 public RawImage img; private void Start() { if (!Permissio..
-기준픽셀을 지정하여 캠의 중간 지점 픽셀 컬러값을 int로 변환하여 변화값(deltaThreshhlod)에 따른 true/false 리턴하는 로직 public class WebCamScript : MonoBehaviour { [SerializeField] RawImage[] display; WebCamTexture camTexture; ManagerScripts managerScripts; private int currentIndex = 0; /// ///변수 /// public int defaultPixel = 337; //기준 픽셀값 나중에 수정 가능한 형태로 만들것(화면 찍어서 가져오게하든 뭐하든) int baseX = 0; // 기준 픽셀 X int baseY = 0; // 기준 픽셀 Y flo..
![](http://i1.daumcdn.net/thumb/C148x148/?fname=https://blog.kakaocdn.net/dn/c6YLN2/btsEAQDXV4W/XeVYiJPsKu0skspEiGO6I0/img.png)
[unity/Simple Disk Utils]ios/android/windows 남은 용량 확인(with source) https://assetstore.unity.com/packages/tools/simple-disk-utils-59382 Simple Disk Utils | 도구 | Unity Asset Store Get the Simple Disk Utils package from Dikra Prasetya and speed up your game development process. Find this & other 도구 options on the Unity Asset Store. assetstore.unity.com 위 어셋을 활용하여 최적화 하였다. 이미 위 코드만으로도 코드가 잘 정리되어있지만 ..
UDP 기본 코드 using System.Collections.Generic; using UnityEngine; using System.Net; using System.Net.Sockets; using System.Text; public class UDPReceiver : MonoBehaviour { private UdpClient udpClient; private int port = 7777; private Queue messageQueue = new Queue(); void Start() { udpClient = new UdpClient(port); BeginReceive(); } private void BeginReceive() { udpClient.BeginReceive(ReceiveCallbac..
![](http://i1.daumcdn.net/thumb/C148x148/?fname=https://blog.kakaocdn.net/dn/Sa5bM/btsCX6v4HyG/9grPaEY8dUVODS9atiwjEk/img.jpg)
[unity/android] fcm을 이용한 푸쉬 구현 -firebase 앱생성 -유니티앱 추가 -환경설정 plist와 json 파일 받는다 -unitySDK 받는다 -패키지명 잘 입력 -unitySDK중 FCM관련 sdk설치 -코드작성 -firebase에서 messaging으로 이동 -캠페인 생성 후 샘플 -> 다음 -> 패키지선택 -> 게시 #코드 using System.Collections; using System.Collections.Generic; using Firebase; using Firebase.Messaging; using UnityEngine; using UnityEngine.UI; public class fcmManager : MonoBehaviour { public Text tex..
유니티 ios에서 apple login/logout 구현 -애플에서 로그아웃 개념이 없음(그냥 뷰로 처리하거나 로컬에 저장-playerprefabs-하는 userID를 제거하여 로그아웃 구현) -최초 로그인을하면 해당 앱(패키지명기준)에 appid.apple.com에 세션이 기록 최초 기록때 이메일, 이름등의 정보를 가져올 수 있지만 세션에 등록한 이후로는 userID,authCode, token정보만 가져올 수 있음, 그렇기때문에 세션에 기록하는걸 회원 가입개념으로 진행하는걸 권장 -그래서 애플로그인은 사실 상 인증하는 수단으로 쓰고, 나머지는 그냥 서버나 로컬저장소에서 처리하는 걸 권장한다 https://assetstore.unity.com/packages/tools/integration/sign-i..
![](http://i1.daumcdn.net/thumb/C148x148/?fname=https://blog.kakaocdn.net/dn/dCXgT9/btsB8TRddct/xHZ9q6MIYLxl0VIRsnHEN0/img.png)
[기록용] 테스트 환경 macOS venture ios 16.3 xcode 14.3 개발자 계정에서 디바이스와 패키지 정보가 등록되어있어야함 [c#/unity] unity Universal SDK 사용시(SNS로그인) 맥+IOS에서 빌드하기 1.플러그인폴더 Assets/Plugin으로 이동 2.UniversalSDK framework 설정 변경 3.ios build setting 으로 이동하여 패키지명 기록 4.auto signing 체크 5.icon등록 6. Signing & Capabilities 이동 후 team 선택 7.권한 추가 할 거 있으면 info.plist에 등록 (ex) NSBluetoothPeripheralUsageDescription Bluetooth is used to communi..
![](http://i1.daumcdn.net/thumb/C148x148/?fname=https://blog.kakaocdn.net/dn/cwGEc4/btsB3aRVjmr/kbkOYD36KkKzfTtWJVo1q1/img.png)
[iOS/unity]빌드 시 Unity-iPhone.xcodeproj "Unity-iPhone" requires a provisioning profile. Select a provisioning profile in the Signing & Capabilities editor. 오류 othersetting -> Automatically sign 체크 #유니티 #ios