-
-
Save todorok1/961a89e83310da5a6944364df7ffb91e to your computer and use it in GitHub Desktop.
シンプルRPGチュートリアル第116回 戦闘中の魔法アクションを処理するクラス
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /// <summary> | |
| /// 魔法のアクションを処理するコルーチンです。 | |
| /// </summary> | |
| IEnumerator ProcessMagicActionCoroutine(BattleAction action, MagicData magicData) | |
| { | |
| // 魔法の詠唱時の効果音を再生します。 | |
| AudioManager.Instance.PlaySe(SeNames.Magic); | |
| // 魔法の効果を処理します。 | |
| foreach (var magicEffect in magicData.magicEffects) | |
| { | |
| // 以降は省略 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment