참고: https://dolfalf.tistory.com/145https://aroundck.tistory.com/4705가장간단한건 // self를 키로 락을 검. 어디선가 self로 락을 건경우 락이 해제될 때까지 여기서 기다리게됨.@synchronized (self) { [_mutableItems addObject:object];}보통 이런식으로도 씀.@implementation MyClass{// 잠금시 키로 지정하는 인스턴스를 저장할 위치를 제공합니다.NSObject * _objectForLock;}이것을 init 메소드 등의 어딘가 적절한 위치로 초기화합니다.- (id) init{self = [super init];if (self){// 잠금시 키로 지정하는...
-
This is Slide 1 Title
This is slide 1 description. Go to Edit HTML and replace these sentences with your own words. This is a Blogger template by Lasantha - PremiumBloggerTemplates.com...
-
This is Slide 2 Title
This is slide 2 description. Go to Edit HTML and replace these sentences with your own words. This is a Blogger template by Lasantha - PremiumBloggerTemplates.com...
-
This is Slide 3 Title
This is slide 3 description. Go to Edit HTML and replace these sentences with your own words. This is a Blogger template by Lasantha - PremiumBloggerTemplates.com...
2021년 2월 24일 수요일
2021년 2월 21일 일요일
[iOS] 개발/테스트 배포용 ipa 간단 생성
Product->Archive->Distribute App -> Developement ->쭉쭉 다음으로 넘기고실행하는 쪽은 Xcode->Devices and Simulators 에서 ipa던져넣으면 ...
[Unity] IOS check version
요약OS 버전을 확인하는 방법이 Objective-C라고 귀찮은 방법 밖에없는 것인지라고 생각하고있어, 피곤하고 있으면, 그런 일은 없었기 때문에 소개.환경MacOS 10.12.6Xcode 9.0.1종래의 방법기술 량이 많아 귀찮았.if ([UIDevice currentDevice] .systemVersion.floatValue> = 11.0) {
NSLog (@ "iOS11 이상이야");
} else {
NSLog (@ "iOS11 미만이야");
}
간단한 방법묘사가 적게된다.if (@available (iOS 11.0 *)) {
NSLog (@ "iOS11 이상이야");
} else {
NSLog (@ "iOS11 미만이야");
}
주의 사항@available(〜)그리고...
[Unity] 실전 게임 만들기 강의 /한국/
좀비슈터, 미니RPG, 등 강좌 몇개 정리해놈. 리듬게임(케이디)의 강좌도 정리해놈.정리잘해논게 맘에듬 https://ansohxxn.github.io/categories/unity-lesso...
2021년 2월 20일 토요일
[unity] VisualGraph 3d

https://m.blog.naver.com/PostView.nhn?blogId=hana100494&logNo=222223197400&targetKeyword=&targetRecommendationCode=1잘정리되어 ...
[Unity] 비행기 슈팅 강좌 / 일본어 / 3000 고급팁 잘되어있음.
유니티관련자료가 3500 개 이다... 엄청난 놈이다.https://baba-s.hatenablog.com/entry/2018/04/01/190000第0回 完成プロジェクト第1回 Unity プロジェクトの準備第2回 プレイヤーと背景の配置第3回 プレイヤーの移動第4回 プレイヤーの移動範囲の制限第5回 プレイヤーをマウスカーソルの方に向ける第6回 背景のスクロール第7回 弾の作成と発射第8回 敵の作成と出現第9回 弾と敵の当たり判定第10回 プレイヤーと敵の当たり判定第11回 爆発エフェクトの作成第12回 爆発エフェクトの表示第13回 敵の種類の追加第14回 敵の移動パターンの追加第15回 宝石の作成第16回 敵を倒したら宝石を落とす第17回 宝石の当たり判定の追加と移動ロジックの修正第18回 プレイヤーのレベルアップ第19回 BGM の実装第20回 SE の実装第21回...
2021년 2월 17일 수요일
[Unity] GC Alloc를 발생시키지 않는 C# 코딩
https://qiita.com/sapphire_al2o3/items/4f517523f50e0113af1fUnity 코드를 쓸 때 GC Alloc가 발생하는 패턴을 조사했다. GC Alloc이 줄어들 패턴 good했지만, 코드가 알기 어려울 경우도 있으므로 반드시 개서를 할 필요는 없다.Unity 2018.4에서 동작 확인문자와 숫자의 연결badint i = 123 ;
string s = "num_" + i ;
goodint i = 123 ;
string s = "num_" + i . ToString ();
string.Concat에 object로 전달되어 박스가되어 버리므로 문자열한다.4 개의 문자열 연결badstring [] num = { "0"...