Skip to content

Instantly share code, notes, and snippets.

View koras's full-sized avatar
🏠
Working from home

Константин koras

🏠
Working from home
View GitHub Profile
@koras
koras / SpriteSlicer.cs
Created March 24, 2026 17:43 — forked from ostryzhnyi/SpriteSlicer.cs
SpriteSlicer
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Cysharp.Threading.Tasks;
using Editor.CMSEditor;
using Newtonsoft.Json;
using ProjectX.CodeBase.Core.Tags;
using ProjectX.CodeBase.Level.Characters;
using ProjectX.CodeBase.SpriteSlicer.Data;
using Runtime;
<div class="uremont_button" style="
position: fixed;
top: 0;
width: 100%;
left: 0;
line-height: 3em;
text-align: center;
"><a href="#" style="
background: #f7931e;
color: #fff;
// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
#include "ItemSample.h"
#include "ItemSampleCharacter.h"
#include "ItemSampleProjectile.h"
#include "Animation/AnimInstance.h"
#include "UsableItem.h"
#include "GameFramework/InputSettings.h"
DEFINE_LOG_CATEGORY_STATIC(LogFPChar, Warning, All);

Обращение списка

Написать (на любом языке функцию), которая обращает список.

NB: Решения через array_reverse, array_map и прочие array_штуковины не принимаются.

Пример на php:

php