コード例 #1
0
 void init(PlayerScore score)
 {
     Score = score;
     Window.TextList.Clear();
     Vector2 orgpos = Window.TextAreaPosition;
     Vector2 mergin = WindowConfigure.createFontScaleForVector(0,1.5f);
     List<WindowText> texts = new List<WindowText>();
     var strs = score.getScoreTextsForResult();
     for (int i = 0; i < strs.Length; i++) {
         texts.Add(new WindowText(strs[i],orgpos+(i*mergin)));
     }
     Window.addWindowText(texts.ToArray());
 }