Package-level declarations

Types

Link copied to clipboard
class Serializable<T>(encodeToString: (T) -> String, decodeFromString: (String) -> T)

A class that encapsulates serialization and deserialization logic for a specific type.

Link copied to clipboard
open class UnityMessageSender(receiver: String)

Sends messages to a Unity game object.

Link copied to clipboard
open class UnityPlayerPrefs

Provides a storage layer for Unity using PlayerPrefs.

Functions

Link copied to clipboard
inline fun <T> createSerializable(noinline encodeToString: (T) -> String, noinline decodeFromString: (String) -> T): Serializable<T>

Creates a new Serializable instance for the given type with the provided serialization and deserialization functions.