예제 #1
0
    void Start()
    {
        //---swordsman controller---
        swordsmanshipController = GameObject.FindGameObjectWithTag("Player").GetComponent <Swordsmanship.SwordsmanControl>();

        isDrawing = false;
        prompts   = new GameObject[10];
        isTouched = new bool[10];
    }
예제 #2
0
    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>();
    }