글

[Unity} How to pop up multiple window with error message.

이미지
 1. I would like to pop error message window up.       Before I just use one designated 'Error Pop Up Window' and 'SetActive(true)' command.  2. But now I call multiple function with Delegate Chain. If I use only one pop up window and there are multiple error message in miltiple function, that will give me error in my life. So I figured out this "Hmm. Will I instantiate Pop Up window as prefab? " I did but Pop Up window instantiate where I can't see.     public void PopErrInstantiate()     {         GameObject childObject = Instantiate(popErrorPref) as GameObject;      } 3.Then let's make Pop Up window instantiate & let this be the child of main Canvas.      public void PopErrInstantiate(s)     {         GameObject childObject = Instantiate(popErrorPref) as GameObject;         childObject.transform.parent = Ui_ControlUi.BigCanvas.trans...

Il Volo

이미지
Popera is far from my music taste. But I am enjoying Il Volo's music for 1 years.  I like Ignazio's powerful voice. This clip highlights Ignazio's voice. 

세계를 읽다 - 독일

세계를 읽다 - 독일// 컬쳐쇼크 시리즈 한국어판. 리처드 로드 지음. 가지 출판.  인상적인 것들만 정리해 봄.     물건을 잘 빌려주지 않는다. 무언가를 빌린다면 그것을 빌린 상태 그대로 돌려주는 것이 중요하다.  집과 자동차에 대한 애착이 많아서 집을 방문할 때 미리 약속을 하고 방문해야하고 밤 10시 이후에는 전화하지 않는다. 남의 자동차에 기대지 않는다. 남의 집의 물건은 반드시 그 자리에 두어라.  독일인은 회사와 사생활의 영역을 매우 중시한다. 친한 동료도 회사에서는 형식적 호칭으로 부르고 업무가 끝나면 친근한 호칭으로 바꾼다.  독일인은 모든 일들을 계획적으로 하기 때문에 시간을 맞추어야 한다. 잘못을 하면 솔직하게 인정하라.  합리주의에 대한 확고한 신념으로 감상주의에 대한 경멸이다.  독일인은 어떤 나쁜 일이 닥칠지 모른다는 생각으로 항상 비관적이고 우울하고 그에 대한 계획을 철저히 잘 세운다.  독일 사람들은 외국인을 싫어한다. 그러나 이 외국인에 잘사는 나라 출신의 백인(미국 및 서유럽)은 포함되지 않는다. 가끔 이사를 갈 때 외국인의 입주는 원치 않는 집주인들도 있다.  사람들이 줄을 서지 않는다. 사람들이 무뚝뚝하지만 상점에 갈 때와 나갈 때 형식적인 인사를 해야한다.  독일에서의 성공의 열쇠는 자신감의 표현. 상대방의 눈을 똑바로 보고 악수를 할 때는 힘차게 하라. 사업상 만남에서도 헤어질 때 Schonen tag noch라고 말하라.  이유없이 칭찬을 하면 상대방은 나에게 무슨 꿍꿍이가 있다고 생각할 것이다.  독일 사람들은 긴밀하고 특별한 관계에 있는 사람에게만 쓴다.  생일 때는 직장동료에게 생일턱을 쏴야한다. 생일 선물을 일찍 주면 불운이 온다고 생각한다.  일찍 출근하고 일찍 퇴근한다.  독일인은 문서숭배자이다.  독일인은 첫인상을 중요시한다. 적절하게 낮은 목소리 ...

Receipt

이미지
 Found old receipts from a bag that I haven't used for a long time. I got those receipt from my trip in UK in year 2016.  It is fun to recollect old memory. First I tried to throw out those receipts but I changed my mind. I will check every receipt of those and write in my travel journal.  The receipt of today is... Latitude Coffee 81 Rose Street 04 August 2016  I searched that on Google Map.  That cafe seems still to be there.  I went in there for natural calls. But coffee was nice and the owner of coffee shop was also nice. I went there several more times during my staying in Edinburgh.  It was my second visit of Edinburgh. There are so many place that I wish to visit and when I visit some city more than one times that means I have friends in there or I love that city. And I don't have any friend in Edinburgh. 

Functions of Google Spreadsheet that I used for balancing game.

이미지
  Function list is here.  INDEX: show the content of indicated row & column in the selected range.  example:  = INDEX ( AM12:AN19 , 5 , 1 ) => INDEX(selected range, indicated row, indicated column) Switch & IFS 1) I would like to something that return a value according to its range. - Usually in C#, it is possible to use Switch operator and range. - But I couldn't find the way to do in Google Spreadsheet function. 2) What I want is 'return out of chart' if the point is less than 800, and 'return 100 if point is between 800 and 1000. The solution is like this - IFS ( AJ12 < 'b1'!B14 , "순위권 밖" , AND ( AJ12 >= 'b1'!B14 , AJ12 < 'b1'!B13 ) , RANDBETWEEN ( 91 , 100 ) ) - IFS(first condition, value for return, second condition, value for return) - It seems for me there is no syntax like 'AJ12> B14 && AJ< B13) - Instead I use like this 'AND( AJ12> B14, AJ< B...

Balancing with Google Apps Script

이미지
I learned Google Apps Script for fun. My current task is balancing game. I use google spread sheet for balancing game. There are some calculation that can't be done only with functions in Google Spread Sheet. At that moment, Google Apps Script is very useful.  1. Use function with button  I wrote calculation that use random function. I wanted to refresh the result anytime I want to. But to click refresh button is not good. I found easy way. This way is using a Google Apps Script.    1) You put a button in spreadsheet.   2) Right click the button you made. Then choose 'allocate script'.  3) Allocate the function you write at a script editor. When doing this, just write the name of function. No '()' allowed.   4) You can write functions in Google Apps Script here.  Upper menu bar> Tool> Script Editor Ignore other code from 'act' function. All I wanted is 'flush' method. 'flush' method refresh every value that are linked to 'curr...

더블린 사람들 - 제임스 조이스

이미지
 매우 즐겁게 읽었다.  스타일이 일반 단편 소설과 다르게 극 사실주의로 씌어져있다. 제목처럼 다양하고 우울한 더블린 사람들의 인생의 한 부분을 잘 잘라서 보여준다.  기승전결로 스토리를 전개해나가지 않고 묘사 위주로 나가다가 결말에서 갑작스럽게 이야기를 마치는 단편이 많은데, 그럼에도 그 결말은 강한 이미지를 준다.  그의 소설에 공통적으로 많이 등장하는 것들은 종교(카톨릭), 음악, 영국의 속국이었던 당시 상황 등이 나온다.  테렌스 브라운이 쓴 해설에 의하면, 조이스가 이 소설을 쓸 때 유명한 아일랜드 작가는 예이츠였다고 한다. 예이츠의 문학 사조는 신비주의(켈트의 황혼파)에 기반을 두고 있었는데, 조이스는 이에 반하여 철저히 극사실주의로 더블린 사람들은 관찰했다. 심지어 그의 시선엔 권력을 쥔 악마같은 느낌도 있다.  '진흙(Clay)'에 빨래 공장에서 일하는 중년의 마리아가 나온다. 그녀는 자식처럼 사랑하는 조를 만나러 갈 생각에 들떠있고 거울을 보며 아직 자신의 몸매는 매력적이라고 자족하는 장면이 나온다. 그러다 제과점에선  실수로 비싼 (2-3일 생활비) 케이크를 사게 되고 전차 안에서는 매력적인 중년 남성과 대화도 한다. 그러나 실수로 케이크를 전차에 두고 내렸게 되고 이에 자책을 한다. 조의 집에서 할로윈 놀이를 한다. 눈을 감고 테이블 위에 있는 물건을 잡는 놀이인데, 반지를 잡으면 곧 결혼을 하게 되고 진흙을 잡으면 곧 죽게 된다는 것이다. 마리아는 반지를 못잡고 진흙을 잡게 되고 파티 분위기를 가라 앉는다. 조가 분위기를 띄우려고 마리아에게 노래를 부르라고 하고 마리아는 "I dreamt that I dwelt in Marble halls." 를 부른다. 2절이 결혼에 대한 내용이라서 마리아는 민망한 마음에 2절을 부르지 못하고 1절을 한번 더 부른다.  이게 단편 '진흙'의 짤막한 요약인데 조이스는 결혼하지 못하고 중년이 된 하류층 여성의 삶을 사실적으로 묘사하고 그의...