Ejemplo n.º 1
0
    // 発動
    void Invocation(int _index)
    {
        n_Status[_index]        = id_Director.GetAbility(_index);
        n_RecoveryState[_index] = n_Status[_index];
        g_Constellation[n_Status[_index]].SetActive(true);
        g_SpriteChange.SharingState(n_Status[_index]);
        id_Director.SetAbility(_index, n_Status[_index]);
        as_Source.PlayOneShot(lac_Sound[n_Status[_index]]);

        // 双子座
        if (g_Constellation[(int)ConstellationState.Gemini].activeSelf && _index == (int)AbilityKey.Z)
        {
            gd_UseAttackAbility.SharingAttackNumber();
        }
    }
Ejemplo n.º 2
0
 public void StartTransform(int _sprite_num)
 {
     g_Transformation.SetActive(true);
     an_Change.Play("Attack");
     sc_Script.SharingState(_sprite_num);
 }