void Start() { //---swordsman controller--- swordsmanshipController = GameObject.FindGameObjectWithTag("Player").GetComponent <Swordsmanship.SwordsmanControl>(); isDrawing = false; prompts = new GameObject[10]; isTouched = new bool[10]; }
public void Start() { //---swordsman controller--- swordsmanshipController = GameObject.FindGameObjectWithTag("Player").GetComponent <Swordsmanship.SwordsmanControl>(); ps = gameObject.GetComponentInChildren <ParticleSystem>(); if (ps.isPlaying) { ps.Stop(); } controller = GameObject.FindGameObjectWithTag("PatternSystemController").GetComponent <PatternSystemController>(); }