Skip to content

Commit

Permalink
Allow set urlConfig properties from other code (#16)
Browse files Browse the repository at this point in the history
Allow set urlConfig properties from other code (#16)
  • Loading branch information
Thaina authored Oct 4, 2023
1 parent bf6be05 commit 7fc7708
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).


## [1.2.1] - 2023.08.14

### Fixed
Expand Down
9 changes: 9 additions & 0 deletions Runtime/WebViewPanel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,15 @@ public class WebViewPanel : MonoBehaviour
[SerializeField] private ScreenPadding screenPadding;

[SerializeField] private UrlConfig urlConfig;
public UrlConfig UrlConfig
{
get
{
urlConfig ??= new UrlConfig();
return urlConfig;
}
}

[Space, SerializeField] public WebViewEvent OnAvatarCreated = new WebViewEvent();
[SerializeField] public WebViewEvent OnUserSet = new WebViewEvent();
[SerializeField] public WebViewEvent OnUserAuthorized = new WebViewEvent();
Expand Down

0 comments on commit 7fc7708

Please sign in to comment.