전체 글 보기

· 기타/Unity
https://www.youtube.com/watch?v=BeEjoTa9sSo 제목에서부터 '이건 보면 도움이 되겠다.' 라는 느낌이 솔솔 왔다. Texture Compression 우리가 생각하는 이미지는 True Color이다. bpp는 bits per pixel이고, 32 bits는 채널 당 8 bits이다. (줄일수록 층이 생기는 걸 볼 수 있다.) PNG, JPG 차이 PNG는 비손실 압축이고, 이미지에 들어있는 색상 숫자에 따라 용량 차이가 난다. JPG는 손실 압축이고, 퀄리티를 조절할 수 있어서 용량을 많이 줄일 수 있다. 동일 퀄리티에서 유사 색상이 많을 경우, PNG가 압축 효율이 좋을 수 있다. (PNG, JPG) 포맷, (DXT, ETC) 포맷의 차이 PNG, JPG와 같은 이미지를..
· 기타/Unity
https://github.com/Cysharp/UniTask GitHub - Cysharp/UniTask: Provides an efficient allocation free async/await integration for Unity. Provides an efficient allocation free async/await integration for Unity. - GitHub - Cysharp/UniTask: Provides an efficient allocation free async/await integration for Unity. github.com 필요할 때 쓰면 짱 좋음.
· 기타/Unity
어떤 오브젝트에 부딪혔을 때, 분리되면서 툭툭 굴러 떨어지는 느낌을 줘야하는 연출이 있었다. 직접 물리로 굴러 떨어트려도 되지만, 이러한 물리 이동을 애니메이션 클립으로 만드는 법이 있었다. https://docs.unity3d.com/2020.1/Documentation/ScriptReference/Animations.GameObjectRecorder.html Unity - Scripting API: GameObjectRecorder This class binds GameObject properties, records their values as they change in the running Scene, and saves the result in an AnimationClip. The recorded..
· 기타/Unity
기본적으로는 보이지 않다가, 손전등 오브젝트 (Spot Light)로 비추면 보이는 오브젝트가 필요했다. 처음에는 라이트에 스텐실을 짬뽕해서 써야하나 싶었는데, 구글에 검색해보니 원하는 게 있어서 따라해보았다. 참고 사이트 https://www.youtube.com/watch?v=9B4hrQPRqtw 프로토타입으로 구현은 해봤는데, 빛의 밝기나 손전등의 거리는 계산하지 않았다. 벡터로 각도만 계산했다. 보여질 오브젝트 인스펙터에서 스팟 라이트를 연결해준다. 쉐이더도 생성해서 머터리얼을 연결해준다. RevealObject 스크립트 using UnityEngine; [ExecuteAlways] // 에디터 모드에서도 실행되어 테스트가 쉽다. public class RevealObject : MonoBehav..
https://blog.unity.com/technology/free-vfx-image-sequences-flipbooks Free VFX Image Sequences & Flipbooks | Unity Blog It is not so common to have either resources or budget to author smoke, fire and explosion flipbooks in video game industry. Here are some image sequences we want to share with you under CC0 license. Feel free to use them in your projects! At Unity Labs P blog.unity.com
누나가 아이패드를 크게 떨군 이후에 이런 화면이 종종 나타났다. 화면만 보면 서비스센터에 가야할 것 같이 생겼는데, 구글링해보니까 간단하게 고쳐졌다. 한번 고칠 때는 구글링하면서 고쳤는데, 두번째가 되니, 한번 더 구글링하기가 귀찮아서 글로 남기려한다. https://support.apple.com/ko-kr/HT203122 iPhone, iPad 또는 iPod touch에 복원 화면이 나타나는 경우 iPhone, iPad 또는 iPod touch에 복원 화면이 나타나는 경우 수행할 작업을 알아봅니다. support.apple.com 글로 남기면서 정리하려고 했는데, 아이패드 재시작하니까 갑자기 고쳐짐... 다음에 증상이 한번 더 나타나면, 사진 찍으면서 글로 다시 정리해야겠다. 암튼 첫번째 고장났을 때..
· 기타/Unity
원래는 Grid Layout Center를 사용하면 차곡차곡 정렬이 되는데, Center를 중심으로 정렬하려면 요것을 쓰면 된다. 오브젝트에 Grid Layout Group 추가하듯이, Grid Layout Group Center 추가해서 사용하면 된다. using UnityEngine; using UnityEngine.UI; /// /// 참고 문서. /// https://forum.unity.com/threads/arrange-ui-elements-with-auto-centering-grid-layout-group.669127/ /// [AddComponentMenu("Grid Layout Group Center")] public class GridLayoutGroupCenter : UnityEngi..
푸쿠이
'분류 전체보기' 카테고리의 글 목록 (5 Page)