// Use this for initialization void Start() { marks = new List <GameObject>(); GDEDataManager.Init("gde_data"); charData = new GDECharacterData(charKey); spriteRepo = new SpriteRepository("Sprites/Kanji"); //setSprite(charData.spriteNames[curStroke]); charCorners = new List <Vector3> [charData.numStrokes]; if (charData.strokes.Count != 0) { for (int i = 0; i < charData.strokes.Count; i++) { charCorners[i] = charData.strokes[i]; } } center = new Vector3(0f, 0f, 0f); if (showPromptTotal) { doPromptTotal(); } StartCoroutine(displayStrokeHint(curStroke)); }
// Use this for initialization void Start() { marks = new List <GameObject>(); GDEDataManager.Init("gde_data"); charData = new GDECharacterData(charKey); spriteRepo = new SpriteRepository("Sprites/Kanji"); setSprite(charData.spriteNames[curStroke]); charCorners = new List <Vector3> [charData.numStrokes]; if (charData.strokes.Count != 0) { for (int i = 0; i < charData.strokes.Count; i++) { charCorners[i] = charData.strokes[i]; } } //charCorners = new List<List<Vector3>>(charData.numStrokes); //drawLine = GameObject.Find("DrawLine"); }