Exemple #1
0
 private void Start()
 {
     floatingBullet = GetComponent <FloatingBullet>();
     tripleShot     = GetComponent <TripleShot>();
     razerScript    = razer.GetComponent <Razer>();
     audioSource    = GetComponent <AudioSource>();
 }
Exemple #2
0
    private void Start()
    {
        bulletGenerate = GetComponent <BulletGenerate>();
        floatingBullet = GetComponent <FloatingBullet>();
        tripleShot     = GetComponent <TripleShot>();
        playerMove     = GetComponent <PlayerMove>();
        audioSource    = GetComponent <AudioSource>();
        conditionArray = new bool[maxPoint + 1];
        Initialize();

        if (conami.GetConami())
        {
            isAllUp = true;
            tripleShot.SetTriple(true);
            razer.SetRazer(true);
            for (int i = 0; i < floatingBullet.GetMaxCount(); i++)
            {
                floatingBullet.GenerateOption();
            }
            ConditionArrayUpdate();
        }
    }