AppKit Unity provides a comprehensive event system that allows you to respond to various state changes in your application. All events are automatically dispatched on Unity's main thread, making them safe to use for UI updates and GameObject manipulation.
AppKit Events#
Event Arguments#
InitializeEventArgs#
Empty event arguments indicating successful initialization.
AccountConnectedEventArgs#
Account Account- The currently active connected accountIEnumerable<Account> Accounts- All connected accountsFunc<Task<Account>> GetAccountAsync- (Deprecated) Use Account property insteadFunc<Task<Account[]>> GetAccountsAsync- (Deprecated) Use Accounts property instead
AccountDisconnectedEventArgs#
Empty event arguments indicating account disconnection.
AccountChangedEventArgs#
Account Account- The new active account
ChainChangedEventArgs#
Chain PreviousChain- The previously active chain (can be null)Chain NewChain- The newly active chain