Exemplo n.º 1
0
    async public override UniTask ProcessAsync(GActor[] inputParams)
    {
        GChess     target    = inputParams[0] as GChess;
        Vector2Int direction = target.location - owner.location;
        await ElementSystem.ApplyElementAtAsync(target.location, element, damage);

        await target.PushTowardAsync(direction, 1);
    }