본문 바로가기
728x90

개발425

unity 용량 큰 상태로 올리기 텍스쳐를 줄이는도 좋지만줄이다가 못줄이시면다음과 같은 방법도 좋습니다. 200mb넘는 빌드파일도 스토어에 올릴수 있습니다.https://docs.unity3d.com/kr/2023.2/Manual/play-asset-delivery.html 2024. 6. 28.
unity 유니티 최적화 texture 압축 compression https://www.youtube.com/watch?v=nqvU01lxCzMunity 유니티 최적화 texture 압축 compression 2024. 6. 28.
unity ads testmode using UnityEngine;using UnityEngine.Advertisements;public class AdsInitializer : MonoBehaviour, IUnityAdsInitializationListener{ [SerializeField] string _androidGameId; [SerializeField] string _iOSGameId; [SerializeField] bool _testMode = true; // 초기값은 true로 설정합니다. private string _gameId; void Awake() { SetTestMode(); InitializeAds(); } private void SetTestMode() {#if DEBUG _testMode = true;#els.. 2024. 6. 26.
점프가 잘 안되었던 이유.. UI 점프 버튼을 눌렀을 때는 잘 되는데키보드에서 스페이스바로 점프를 눌렀을 때 잘 동작하지 않았다우리의 친구 챗지피티에게 물어본 결과  2. Update 메서드 내에서만 사용Input.GetButtonDown는 일반적으로 Update 메서드 내에서 사용됩니다. 다른 메서드(예: FixedUpdate 또는 LateUpdate)에서는 예상대로 작동하지 않을 수 있습니다.  FixedUpdate를 사용하지 말고 Update를 사용하라고 한다.. 그랬더니 정말 신기하게 되었다!! 2024. 6. 15.
728x90