블로그 이미지
Every unexpected event is a path to learning for you. blueasa

카테고리

분류 전체보기 (2856)
Unity3D (896)
Programming (479)
Server (33)
Unreal (4)
Gamebryo (56)
Tip & Tech (191)
협업 (64)
3DS Max (3)
Game (12)
Utility (142)
Etc (99)
Link (34)
Portfolio (19)
Subject (90)
iOS,OSX (53)
Android (16)
Linux (5)
잉여 프로젝트 (2)
게임이야기 (3)
Memories (20)
Interest (38)
Thinking (38)
한글 (30)
PaperCraft (5)
Animation (408)
Wallpaper (2)
재테크 (19)
Exercise (3)
나만의 맛집 (3)
냥이 (10)
육아 (16)
Total
Today
Yesterday

[링크] https://wincnt-shim.tistory.com/356

 

기존 프로젝트를 URP로 변경하기

서론 이전에 빌트인으로 만들었던 프로젝트를 URP로 변경해보려고 한다 매우 간단한 프로젝트이라서 다른 변수가 영향을 주지 않으리라 생각한다 (참고로 설치하는 URP의 버전은 12.1) 방법은 Unity

wincnt-shim.tistory.com

 

[참고] Converting your shaders | Universal RP | 12.1.11

 

반응형
Posted by blueasa
, |

Xcode 26.0.1

Unity 6000.2.5f1

----

 

[Build Error]

 Assertion failed: (it != _dylibToOrDinal.end()), function getDylibOrdinal, file OutputFile.cpp, line 5196.

----

 

Xcode 16.4에서 Xcode 26으로 올리고나니 잘되던 빌드가 위와 같은 에러가 나면서 빌드 실패를 한다.

찾아보니 Xcode 16.4까지 계속 쓰고있던 플래그인 -ld_classic이 Xcode PostProcessor에 있는데,

 Xcode 26에서 OTHER_LDFLAGS의 -ld_classic이 제거 됐다고 한다.

 

그래서 PostProcessor에서 -ld_classic 관련을 주석처리 하니 빌드가 잘된다.

(참고로 -ld64도 함께 제거 된 것 같으니 -ld64도 있으면 제거하자)

 

[요약]

Xcode 26에서 -ld_classic, -ld64 제거 됨.

관련 소스 제거 필요.

 

[참조] https://blog.csdn.net/siwen1990/article/details/151993993

 

 

반응형
Posted by blueasa
, |

[링크] https://misos03hop.booth.pm/items/5135844

 

【vrchat】[free]MisoShadow - MISO# - BOOTH

写真を撮ったり、きれいな影が欲しい人におすすめです。 ◎ 説明 ● liltoonの影をアニメの感じに変えてくれるアセットです。 ● リアルタイムでライトを使用しないため、フレームドロップ

misos03hop.booth.pm

 

 

[참조] https://gall.dcinside.com/mgallery/board/view/?id=vr&no=3367059

 

릴툰 그림자 카툰느낌내는 에셋 무료배포함 - 브이알챗 (VRChat) 마이너 갤러리

이런느낌으로 카툰느낌 나고그림자 각도조절 가능함광원 생각하면서 찍으면 사진도 잘나오고그냥 평범하게 있어도 이쁨그리고 젤 중요한게 pcss마냥 실시간 라이트가 아니라서프레임 드랍 없

gall.dcinside.com

 

반응형
Posted by blueasa
, |

NiloToon 같이 만들어 보고 싶어서 NiloToon 공개 소스를 참조한 URPSimpleGenshin Shader를 좀 개조해서 기능 추가 해봄.

 

// Based on SimpleGenshinFacial shader
// Simplified NiloToon Shader for Unity URP

/*
CustomURPToon Shader - A simplified toon shader based on SimpleGenshinFacial
Features:
- Basic toon lighting with cel shading
- Rim lighting
- Outline rendering
- Face shadow mapping support
- Mobile optimized
*/

 

 

[파일]

CustomURPToon.zip
0.51MB

 

 

[참조] https://github.com/NoiRC256/URPSimpleGenshinShaders

 

GitHub - NoiRC256/URPSimpleGenshinShaders: A simple Genshin Impact facial shader for Unity URP, based on NiloCat shader example

A simple Genshin Impact facial shader for Unity URP, based on NiloCat shader example - NoiRC256/URPSimpleGenshinShaders

github.com

 

반응형
Posted by blueasa
, |

[링크] https://github.com/NoiRC256/URPSimpleGenshinShaders

 

GitHub - NoiRC256/URPSimpleGenshinShaders: A simple Genshin Impact facial shader for Unity URP, based on NiloCat shader example

A simple Genshin Impact facial shader for Unity URP, based on NiloCat shader example - NoiRC256/URPSimpleGenshinShaders

github.com

 

반응형
Posted by blueasa
, |

[링크] https://docs.backnd.com/sdk-docs/backend/base/user/federation/example-using-gpgs2/

 

Google Play Game Service V2(GPGS2) 사용 | 뒤끝 개발자

Google Play Games Service (GPGS)로 간편하게 로그인하는 기능을 넣어서, 사용자 경험을 향상하세요.

docs.backnd.com

 

반응형
Posted by blueasa
, |

[링크] https://developer.android.com/games/pgs/unity/overview?hl=ko

 

Unity용 Google Play 게임즈 플러그인  |  Android game development  |  Android Developers

이 페이지는 Cloud Translation API를 통해 번역되었습니다. 의견 보내기 Unity용 Google Play 게임즈 플러그인 컬렉션을 사용해 정리하기 내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요. Unity용 Go

developer.android.com

 

 

 

[링크] ttps://developer.android.com/games/pgs/unity/unity-start?hl=ko

 

Unity용 Google Play 게임즈 설정 및 로그인  |  Android game development  |  Android Developers

이 페이지는 Cloud Translation API를 통해 번역되었습니다. 의견 보내기 Unity용 Google Play 게임즈 설정 및 로그인 컬렉션을 사용해 정리하기 내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요. 이

developer.android.com

 

반응형
Posted by blueasa
, |

[링크] https://github.com/playgameservices/play-games-plugin-for-unity

 

GitHub - playgameservices/play-games-plugin-for-unity: Google Play Games plugin for Unity

Google Play Games plugin for Unity. Contribute to playgameservices/play-games-plugin-for-unity development by creating an account on GitHub.

github.com

 

반응형
Posted by blueasa
, |

[링크] https://nybot-house.tistory.com/99

 

[2024 최신] 유니티 게임과 구글 플레이 게임즈 연동하기 GPGS - Google Play Games Plugin for unity - v.11.01

현제 개발 중인 모바일 게임, '전설의 대장장이 이야기-The Legend Of BlackSmith'가 출시되었다.구글 플레이 스토어 링크 전설의 대장장이 이야기 - Google Play 앱무기를 제작하고 판매해서 전설적인 대

nybot-house.tistory.com

 

반응형
Posted by blueasa
, |

[파일]

LunarConsoleAssist.cs
0.00MB

 

 

using UnityEngine;

#if UNITY_ANDROID || UNITY_IOS
using LunarConsolePlugin;
#endif

/// <summary>
/// 모바일 기기에서 멀티터치를 통해 LunarConsole을 활성화하는 도우미 클래스
/// </summary>
public class LunarConsoleAssist : MonoBehaviour
{
    [Header("Touch Settings")]
    [SerializeField, Range(2, 5)]
    private int requiredFingers = 3;

    [SerializeField, Range(0.1f, 2.0f)]
    private float requiredHoldTime = 0.3f;

    [Header("Debug")]
    [SerializeField]
    private bool enableDebugLog = false;

    private float currentHoldTimer;
    private bool isConsoleShown;

    // 성능 최적화를 위한 캐싱
    private Touch[] cachedTouches;

    private void Awake()
    {
        // 필요한 경우에만 초기화
#if !(UNITY_ANDROID || UNITY_IOS) || UNITY_EDITOR
        if (enableDebugLog)
            Debug.LogWarning("[LunarConsoleAssist] This component only works on Android/iOS devices.");
#endif
    }

    private void Update()
    {
#if (UNITY_ANDROID || UNITY_IOS) && !UNITY_EDITOR
        HandleTouchInput();
#endif
    }

#if (UNITY_ANDROID || UNITY_IOS) && !UNITY_EDITOR
    private void HandleTouchInput()
    {
        int touchCount = Input.touchCount;
        
        // 필요한 손가락 수가 맞는지 확인
        if (requiredFingers <= touchCount)
        {
            if (AreRequiredTouchesValid(touchCount))
            {
                currentHoldTimer += Time.unscaledDeltaTime;
                
                if (requiredHoldTime <= currentHoldTimer && !isConsoleShown)
                {
                    ShowLunarConsole();
                }
            }
            else
            {
                ResetTimer();
            }
        }
        else
        {
            ResetTimer();
        }
    }
    
    private bool AreRequiredTouchesValid(int touchCount)
    {
        // 성능 최적화: 필요한 터치만 확인
        int validTouchCount = 0;
        
        for (int i = 0; i < touchCount && validTouchCount < requiredFingers; i++)
        {
            TouchPhase phase = Input.touches[i].phase;
            
            if (IsTouchPhaseValid(phase))
            {
                validTouchCount++;
            }
        }
        
        return requiredFingers <= validTouchCount;
    }
    
    private bool IsTouchPhaseValid(TouchPhase phase)
    {
        return phase == TouchPhase.Began || 
               phase == TouchPhase.Stationary || 
               phase == TouchPhase.Moved;
    }
    
    private void ShowLunarConsole()
    {
        try
        {
            LunarConsole.Show();
            isConsoleShown = true;
            
            if (enableDebugLog)
                Debug.Log("[LunarConsoleAssist] Console activated!");
                
            ResetTimer();
        }
        catch (System.Exception e)
        {
            if (enableDebugLog)
                Debug.LogError($"[LunarConsoleAssist] Failed to show console: {e.Message}");
        }
    }
    
    private void ResetTimer()
    {
        currentHoldTimer = 0f;
        isConsoleShown = false;
    }
#endif

#if UNITY_EDITOR
    private void OnValidate()
    {
        // 에디터에서 값 검증
        requiredFingers = Mathf.Clamp(requiredFingers, 2, 5);
        requiredHoldTime = Mathf.Clamp(requiredHoldTime, 0.1f, 2.0f);
    }
#endif
}

 

[출처] 지인

반응형
Posted by blueasa
, |