You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adding an IFocusable might be unnecessary. You can use Application.focusChanged directly in Initialize to handle focus changes without extra interfaces.
I use the approach you recommended with MonoBehaviors used for views, while plain C# scripts being controllers for views.
I have a problem with a task, where I should update view (in this case view is an external script I cannot change) when application focus changes.
Can you add an interface like "IFocusable", similar to other interfaces outlined here? https://vcontainer.hadashikick.jp/integrations/entrypoint
(void OnApplicationFocus() of MonoBehavior).
This would greatly simplify this use-case without having to add additional "event hook" MonoBehaviors.
The text was updated successfully, but these errors were encountered: