Skip to content

Instantly share code, notes, and snippets.

public Image imgUserProfile;
private IEnumerator LoadUserProfileImage()
{
// Social.locallUser.userName 에 먼저 액세스 해야 하는 버그가 있음
// https://stackoverflow.com/questions/38838652/social-localuser-image-is-always-returning-null
var dump = Social.localUser.userName;
Texture2D textureUserProfileImage;
@dreamerJC
dreamerJC / 키스토어_생성.txt
Last active February 13, 2023 05:59
키스토어_생성
keytool -genkey -v -keystore my_key_name.jks -keyalg RSA -keysize 2048 -validity 10000 -alias my_alias_name
public Canvas uiCanvas; // UI 캔버스
public Camera uiCamera; // UI 전용 카메라
public RectTransform uiButton; // 이동할 UI 버튼
void Update()
{
if (Input.touchCount > 0)
{
Touch touch = Input.GetTouch(0);
@dreamerJC
dreamerJC / UpgradeBtnContentSizeFitterRefresh.cs
Created January 11, 2025 03:54
Fixing ContentSizeFitter in Unity: Automatically Updating Parent Size on Text Change
using UnityEngine;
using UnityEngine.UI;
public class UpgradeBtnContentSizeFitterRefresh : MonoBehaviour
{
private static RectTransform rt;
void Start()
{
var csf = GetComponent<ContentSizeFitter>();
@dreamerJC
dreamerJC / .editorconfig
Last active August 12, 2025 02:50
.editorconfig (08/12/2025)
# 이 파일이 프로젝트의 최상위 .editorconfig 파일임을 나타냅니다.
# true로 설정 시, 상위 폴더의 .editorconfig 파일을 무시합니다.
root = true
# 모든 파일에 적용되는 기본 설정
[*]
charset = utf-8 # 파일 인코딩은 UTF-8로 지정
end_of_line = lf # 줄 끝 문자는 LF(Unix 방식)로 통일 (OS 간 호환성)
indent_style = space # 들여쓰기는 공백(space) 사용
indent_size = 4 # 들여쓰기 칸은 4칸으로 지정