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

카테고리

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

[링크] https://dev-syhy.tistory.com/44

 

[Git] git revert 에러 (merge but no -m option was given)

회사 팀에서 git을 사용하고 있는데 내가 커밋한 내역까지는 아무 이상 없던 코드가 팀원이 푸시한 코드를 풀로 받고나니 아뿔싸... 지금까지 만들었던 코드들이 다 날아가버렸다 얼마전에 블로

dev-syhy.tistory.com

 

[링크] http://www.codingswede.se/2017/05/revert-merge-commit-using-sourcetree.html

 

Revert a merge commit using SourceTree

Update 1 (no need to investigate the parents) The use case I need this for is when a feature branch has been merged to master, and after ...

www.codingswede.se

 

반응형
Posted by blueasa
, |

[링크] https://devureak.tistory.com/9

 

iOS 간단 UDID 확인 방법

iOS 테스트폰으로 등록하기위해서 UDID 정보가 필요하다 1. Mac 컴퓨터및 노트북이 있다면 아이폰과 케이블 연결하여 Finder 아이폰 정보를 확인하면 아래와같이 확인할수있다 2. 아이폰만 가지고있

devureak.tistory.com

 

반응형
Posted by blueasa
, |

[링크] https://rito15.github.io/posts/unity-editor-define-symbol/

 

유니티 - Scripting Define Symbol 스크립트로 제어하기

Scripting Define Symbol?

rito15.github.io

 

반응형
Posted by blueasa
, |

In Unity there is a cross-platform way to copy a string to Clipboard. Using the GUIUtility class I’m going to show you how to copy a string into the user’s Clipboard. This should work in Unity 2017 and beyond.

By using the GUIUtility class, from UnityEngine, we can fit any C# object with a ToString() function into the Clipboard!

Clipboard Extension

To make it easily accessible I made the function as a string extension. By doing it this way we can use the function on any string anywhere in the code.

using UnityEngine;

public static class ClipboardExtension
{
    /// <summary>
    /// Puts the string into the Clipboard.
    /// </summary>
    public static void CopyToClipboard(this string str)
    {
        GUIUtility.systemCopyBuffer = str;
    }
}

 

Example

Here is an example on how to copy different elements into the Clipboard using the ClipboardExtension:

public string GetSomeString()
{
    return "This is a string coming from a function!";
}

public void TestCopyToClipboard()
{
    // + Using a standard string
    string testString = "Am I in the Clipboard?";
    testString.CopyToClipboard();
    // The content of test1 is in the Clipboard now!

    // + Using a method to get a string
    GetSomeString().CopyToClipboard();
    // The content returned by GetSomeString() is in the Clipboard now!

    // + Using a C# object with a ToString() method
    Color colorTest = Color.red;
    colorTest.ToString().CopyToClipboard();
    // The string version of the object colorTest is in the clipboard now!
}

You can try out this code for yourself! Run it, then try pasting your Clipboard into a notepad. It has been tested and works on PC, Android and iOS!

 

 

[출처] https://thatfrenchgamedev.com/785/unity-2018-how-to-copy-string-to-clipboard/

 

Unity - How to copy a string to Clipboard – That French Game Dev

Cross-platform way to copy a string to Clipboard in Unity. Using the GUIUtility class I'm going to show you how to copy a string into the user's Clipboard. This should work in Unity 2017 and beyond.

thatfrenchgamedev.com

 

반응형
Posted by blueasa
, |

[링크] https://easings.net/ko

 

Easing Functions Cheat Sheet

Easing functions specify the speed of animation to make the movement more natural. Real objects don’t just move at a constant speed, and do not start and stop in an instant. This page helps you choose the right easing function.

easings.net

 

반응형
Posted by blueasa
, |

[추가] 2024-08-21

Visual Studio 2022를 다시 설치하려고 시도했는데 아래 2가지 경우가 발생하면서 설치가 안된다.

결국 Microsoft DNS 문제였다.

다른 DNS로 바꾸고나니 정상적으로 잘 설치된다.

 

----

1) MSDN에서 Visual Studio 2022(https://visualstudio.microsoft.com/ko/thank-you-downloading-visual-studio/?sku=enterprise&channel=Release&version=VS2022&source=VSLandingPage&cid=2030&passive=false)를 다운받으려는데 아래와 같이 '사이트에 연결할 수 없음'이라고 뜨면서 다운이 안됨.

 

2) 웹사이트에서 Visual Studio Installer 파일을 다운받아서 설치하려고 하는데 아래와 같이 에러를 내면서 설치 진행이 안됨.

 

 

 

 

[링크] https://davi06000.tistory.com/11

 

[ VS 삽질 ] VisualStudio 설치 속도가 너무 느릴때

//서론 새로 설치해야하는 SDK와 기존에 설치되어있던 VS의 키트가 충돌을 일으켜서 VS를 지웠다가 깔아야하는 상황이었다. 그런데 설치 속도가 24KB/sec? 진짜 화가 머리끝까지 치미는 상황이다. //

davi06000.tistory.com

 

반응형
Posted by blueasa
, |

[링크]

https://macinjune.com/all-posts/mac/tip/%EB%A7%A5%EB%B6%81-macos-%EB%A7%A5%EB%B6%81%EC%9D%84-%EB%AC%B4%EC%84%A0-%EA%B3%B5%EC%9C%A0%EA%B8%B0%EC%B2%98%EB%9F%BC-%EC%82%AC%EC%9A%A9%ED%95%98%EA%B8%B0/

 

[맥북 / macOS] 맥북을 무선 공유기처럼 사용하기 - Mac In June

유선 랜을 사용할 수 있는 환경에서 무선 공유기가 없다면, 맥북을 무선 공유기처럼 활용할 수 있습니다. 유선 랜 뿐만 아니라 다른 소스로 부터 공급 받은 인터넷을 다른 기기로 공유할 수 있는

macinjune.com

 

반응형
Posted by blueasa
, |

[아래 링크의 방법 시도하기 전에 일단 시도해봐야 될 것]

1. 'Player Setting -> Android -> Pubilshing Settings -> Use R8'로 이동

2. 'Use R8'이 체크 안돼 있는지 확인(Non Checked)

3. 'Use R8'이 체크 안돼 있는데도 에러가 난다면, 한 번 체크 했다가 다시 체크 해제

4. 빌드 테스트

 

[에러 수정 후기]

이번에 프로젝트를 Unity2018에서 Unity 2021로 올렸는데 제목과 같은 에러가 났다.

아래 링크의 방법 해보려하다가 Unity2020에서 생성해서 만들어진 gradle을 살펴봤지만 옵션에 문제가 없어보여서 이상하다 싶어서 위에 있는 'Use R8'을 체크 한 번 했다가 다시 체크 해제를 하니 정상적으로 빌드가 된다.

예상으로는 기존에 Unity2018에서 없던 옵션인 'Use R8'이 Unity2021(2020에도 있던데 어디서부터 생긴진 봐야될듯..)에서 새로 추가되면서 기존에는 없던 옵션이 생기면서 원하지 않거나 이상한 값이 저장돼 있는게 아닐까..하고 예상해 봄.

 

[Use R8 옵션 참조]

[Unity 2018] Use R8 옵션이 없다

 

[Unity 2021] Use R8 옵션이 있다.

 

[결론]

Use R8이 꺼져있는데도 위와같은 에러를 낸다면 Use R8 체크했다가, 다시 체크해제 해보자.

안되면 아래 방법으로..

 

-------------------------------------------------------------------------------------------------

 

[참조] https://kooksdev.tistory.com/8

 

[Error] Unity WARNING: The option setting 'android.enableR8=false' is deprecated

Gradle 관련 에러 두가지 방법으로 해결할 수 있다 Try 1 Custom Gradle Properties Template를 만들어서 android.enableR8=false를 적기 Try 2 Custom Base Gradle Template를 만들어 Gradle 버전 세팅 나는 두..

kooksdev.tistory.com

 

반응형
Posted by blueasa
, |

[링크] https://ajh322.tistory.com/298

 

유니티 빌드 에러 - mainTemplate.gradle file is using the old aaptOptions noCompress property definition which does not in

증상 유니티 버전을 2019대에서 2020대로 올리고 안드로이드 빌드를 하면 mainTemplate.gradle file is using the old aaptOptions noCompress property definition which does not include types defined by unit..

ajh322.tistory.com

 

[링크2] https://codetime.tistory.com/279

 

[Error] mainTemplate.gradle file is using the old aaptOptions 처리

UnityException: Error mainTemplate.gradle file is using the old aaptOptions noCompress property definition which does not include types defined by unityStreamingAssets constant. ※ mainTemplate.grad..

codetime.tistory.com

 

반응형
Posted by blueasa
, |

 

[링크] https://geukggom.tistory.com/197

 

[Firebase] 이슈 : Could not find a working python interpreter.

유니티에 파이어베이스 SDK를 추가해줬더니 다음과 같은 이슈가 발생했습니다. Could not find a working python interpreter. Please make sure one of the following is in your PATH: python..

geukggom.tistory.com

 

반응형
Posted by blueasa
, |