Example #1
0
 protected void Start()
 {
     wordManager               = AlphaTypingManager.Instance;
     playerManager             = AlphaTypingPlayerManager.Instance;
     screenHalfWidth           = wordManager.GetCanvasWidth() / 2;
     characterStatusController = CharacterStatusController.Instance;
     if (characterStatusController != null)
     {
         score = (int)(((characterStatusController.CurrentCodingStatus * 1.6f) + (characterStatusController.CurrentTestingStatus * 1.4f) / 10));
     }
     else
     {
         score = 200;
     }
     wordLength = tmp_Text.text.Length;
 }