전체 글14 Unity BeHealthkit Asset :: ios 건강 - 수동 데이터 필터링 1. ReadQuantityData 함수에서 QuantitySample을 필터링한다. if(samples.Count > 0) { foreach (var current in samples) { if (current.source.name == "건강") continue; if (DebugManager.Instance._healthkitReadSamplesDebugMode) Debug.LogFormat(" - {0} : {1}", current, current.quantity.doubleValue); 한국어로 "건강"으로 필터링한다. * 이 부분을 필터링하지 않으면, BeHealthkit 에셋에서 , 수동으로 입력한 데이터도 가져오게 된다. 2022. 8. 3. DarkRift 2 디버그 방법 및 유니티 상에서 접속하기. 1. Logger 클래스 사용 [Info] 형태로 콘솔 상으로 출력됨. 2. 유니티에서 다크리프트 (특정 서버) 접속(그리고 접속 해제) 방법 [SerializedField] UnityClient myServerCli; [SerializedField] string ip; [SerializedField] string port; private void Awake() { ConnectServer(myServerCli,ip,port); } private void ConnectServer(UnityClient client, string ip, ushort port) { client.MessageReceived += OnMyServerMessageReceived; client.Address = IPAddress.P.. 2022. 8. 2. DarkRift 2 빌드 후 처리 이벤트 1. 솔루션 내의 서버 프로젝트 xcopy /y "$(SolutionDir)LogicServer\bin\Debug\LogicServer.dll" "$(SolutionDir)"..\"DarkRiftConsole\Plugins\" 2. 솔루션 내의 서버 모델 프로젝트 xcopy /y "$(SolutionDir)LogicServerModel\bin\Debug\LogicServerModel.dll" "$(SolutionDir)"..\"Assets\Plugins\" xcopy /y "$(SolutionDir)LogicServerModel\bin\Debug\LogicServerModel.dll" "$(SolutionDir)"..\"DarkRiftConsole\Plugins\" ** 주의 ㄱ. 빌드 후 처리 이벤트가.. 2022. 8. 2. 이전 1 2 3 4 5 다음