This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # 이 파일이 프로젝트의 최상위 .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칸으로 지정 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using UnityEngine; | |
| using UnityEngine.UI; | |
| public class UpgradeBtnContentSizeFitterRefresh : MonoBehaviour | |
| { | |
| private static RectTransform rt; | |
| void Start() | |
| { | |
| var csf = GetComponent<ContentSizeFitter>(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public Canvas uiCanvas; // UI 캔버스 | |
| public Camera uiCamera; // UI 전용 카메라 | |
| public RectTransform uiButton; // 이동할 UI 버튼 | |
| void Update() | |
| { | |
| if (Input.touchCount > 0) | |
| { | |
| Touch touch = Input.GetTouch(0); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| keytool -genkey -v -keystore my_key_name.jks -keyalg RSA -keysize 2048 -validity 10000 -alias my_alias_name |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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; |