Skip to content

Instantly share code, notes, and snippets.

class_name CallableStateMachine
var state_dictionary = {}
var current_state: String
func add_states(
normal_state_callable: Callable,
enter_state_callable: Callable,
leave_state_callable: Callable
class_name CallableStateMachine
var state_dictionary = {}
var current_state: String
func add_states(
normal_state_callable: Callable,
enter_state_callable: Callable,
leave_state_callable: Callable
@SlavaSkvortsov
SlavaSkvortsov / UIFontSizeScaler.cs
Last active May 4, 2025 14:26
UI Font Size Scaler
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UIElements;
public class UIFontSizeScaler : MonoBehaviour
{
[Tooltip("Reference to the UIDocument containing the UI.")]
[SerializeField] private UIDocument _uiDocument;
[Tooltip("List of class names to scale.")]
import io
import datetime
import pandas as pd
import tinys3
access_key = ''
secret_key = ''
bucket = 'tenjin-to-acquired-prod'