Skip to content

Instantly share code, notes, and snippets.

View bernatgy's full-sized avatar
🏠
Mainly freelancing right now

Bernát Gyovai bernatgy

🏠
Mainly freelancing right now
  • Zardify
  • Hungary
View GitHub Profile
@scho
scho / BindingExtensions.cs
Last active May 8, 2023 17:19
Unity UIToolkit Runtime Binding Extension
using System;
using System.Collections.Generic;
using System.Reflection;
using UnityEngine.UIElements;
namespace UI
{
public static class BindingExtensions
{
public static void Bind(this VisualElement element, object data)