본문 바로가기

Unity52

01. Git Setting 🔷 Git 설치 https://git-scm.com/downloads Git - Downloads Downloads macOS Windows Linux/Unix Older releases are available and the Git source repository is on GitHub. GUI Clients Git comes with built-in GUI tools (git-gui, gitk), but there are several third-party tools for users looking for a platform-specific exp git-scm.com - 설치파일을 다운 - install 진행 🔶 git bash - git bash 열기 git config --global user... 2021. 8. 7.
에러 : Multiple precompiled assemblies with the same name Newtonsoft.Json.dll included on the current platform. Only one assembly with the same name is allowed per platform. 🔷 에러메세지 패키지를 임포트하니 아래의 에러가 생겼다. 🔶 에러메세지 1 Multiple precompiled assemblies with the same name Newtonsoft.Json.dll included on the current platform. Only one assembly with the same name is allowed per platform. 🔶 에러메세지 2 PrecompiledAssemblyException: Multiple precompiled assemblies with the same name Newtonsoft.Json.dll included on the current platform. Only one assembly with the same name is allo.. 2021. 8. 6.
02. Photon 연결, 기본 메서드 🔷 Photon 연결 - 빈 게임 오브젝트 생성 : PhotonManager - 스크립트 생성 : PhotonManager - PhotonManager 스크립트 추가 🔶 PhotonManage.cs 작성 using System.Collections; using System.Collections.Generic; using UnityEngine; using Photon.Pun; using Photon.Realtime; public class PhotonManager : MonoBehaviourPunCallbacks { private readonly string gameVersion = "v1.0"; private string userId = "Ojui"; private void Awake() { // 게임 .. 2021. 8. 5.
06. ML-Agents - Soccer (1) 🔷 실습 6 (1) - 축구 - 이산값 🔶 프로젝트 세팅 - 프로젝트 생성 : MLSoccer - 패키지 다운로드 및 임포트 : Soccer Field - 폴더 정리 - Add package from disk - mlagents, mlagents extentions 패키지 설치 - 경로 - ml-agents\com.unity.ml-agents\package.json - ml-agents\com.unity.ml-agents.extensions\package.json - 패키지 2개가 설치된 것을 확인 - Regenerate project files - Ctrl + Shift + P - OmniSharp : Restart OmniSharp 🔷 트레이닝 환경 구축 🔶 씬 세팅 - SoccerFieldTwos .. 2021. 8. 2.
05. ML-Agents - Imitation Learning 🔷 실습 5 - 모방학습 - 강화학습만을 사용하면 효율이 안나오는 경우 - 사람이 시범보이는 것을 레코딩을 떠서, 녹화파일을 줌 - 컴포넌트 : Demonstration Recorder - Hint의 색상과 같은 색상의 큐브로 이동 🔷 트레이닝 환경 구축 - 씬 생성 : MummyIL - 빈게임오브젝트 : Stage - 큐브 : Floor - Scale : 10, 0.1, 10 - 빈게임오브젝트 : Walls - 큐브 : Wall - Scale : 10, 1, 1 - 벽세우기 - Tag 부여 : WALL - agent 추가 - position : 0, 0.05, 0 - cube 생성 : Hint - position : 0, 0.55, 0 - cube : Black, Red, Green, Blue - Sc.. 2021. 8. 2.
04. ML-Agents - Camera Sensor 🔷 실습 4 - 실습 3과 동일하게 good item, bad item으로 스테이지 구성 - Camera로 분석 🔷 트레이닝 환경 구축 🔶 씬 기본 세팅 - 씬 생성 : MummyCamera - Stage 프리팹 복사 -> StageCamera로 이름 변경 - 씬 안에 있던 Stage프리팹 전부 삭제 - StageCamera 하나 올리기 🔶 Agent 세팅 - 컴포넌트 삭제 : Ray Perception Sensor 3D - Behavior Name : MummyCamera - 연결되어있던 모델 해제 🔶 분석할 Camera 세팅 - Agent 아래에 Camera오브젝트 생성 - 컴포넌트 삭제 : Audio Listener - position : 0, 0.8, 0카메라 위치를 머미의 눈 쪽으로 이동 - N.. 2021. 8. 1.
반응형