コード例 #1
0
ファイル: SPush.cs プロジェクト: vegechick123/3D-Cube-Chess
    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);
    }