Skip to content

Instantly share code, notes, and snippets.

View seongyooncho's full-sized avatar
🎯
Focusing

Seongyoon Cho seongyooncho

🎯
Focusing
View GitHub Profile

Unity 에서 Android system language 가져오기

  1. Unity 내부 함수 사용

    string systemLanguage = Application.systemLanguage.ToString();
  2. AndroidJavaObject 사용

    #if UNITY_ANDROID

AndroidJavaObject locale = new AndroidJavaClass("java/util/Locale").CallStatic("getDefault");

Game console

What we will learn

Overview

August 4, 2014

  • [11:20 - 12:00] Merge updates, set mark location, perform tracking without ptam, add some buttons.
  • [14:50 - 15:20] Init scene, add semi-transparent box, translate camera
  • [15:40 - 16:40] Rotate camera #1
  • [16:50 - 17:15] Rotate camera #2
  • [17:55 - 18:20] Rotate camera #3
  • Total 180 mins

August 5, 2014

  • [10:30 - 10:40] Change capture resolution to 1920x1080
<script src="http://code.jquery.com/jquery-1.11.0.min.js"></script>
<script type="text/javascript" src="js/wScratchPad.min.js"></script>
<script type="text/javascript" src="js/jquery.animateSprite.min.js"></script>
<script type="text/javascript" src="js/typed.js"></script>
<script type="text/javascript" src="js/jquery.path.js"></script>
<script type="text/javascript" src="js/3d-falling-leaves.js" ></script>
<script type="text/javascript" src="js/rotate3Di.js" ></script>
<script src="script.js"></script>
@seongyooncho
seongyooncho / dabblet.css
Created June 21, 2014 10:13
The first commented line is your dabblet’s title
/**
* The first commented line is your dabblet’s title
*/
body {
background: #f06;
background: linear-gradient(45deg, #f06, yellow);
min-height: 100%;
}
div {
background: blue;

server 연동

  • Auto/Manual 모드
    • bool LBN_Thrift_GetAuto();
    • void LBN_Thrift_SetAuto(1: bool auto);
  • Scene preview
    • void LBN_Thrift_PreviewScene(1: i32 sceneId);-1 넘기면 deselect 되도록
  • Scene 없는 context
    • stLBN_ContextRule에 property 추가 5: bool hasScene,
  • Context 개별 enable/disable
    • stLBN_ContextRule에 property 추가 6: bool enabled,