Example #1
0
    public void VFXUsingPrefab()
    {
        AnimeAction action = BattleVFXAction.CreateWithPrefab(vfxPrefab, "Fire", enemy2);

        //action
        action.Start();
    }
Example #2
0
    public void PlayerAttack()
    {
        // SubAction
        AnimeAction subAction = BattleVFXAction.CreateWithPrefab(vfxPrefab, "Fire", enemy2);

        AnimeAction attackAction = CharAttackAction.Create(player, subAction);

        attackAction.Start();
    }