Skip to content

Commit

Permalink
Fix OnScreenAdded visibility
Browse files Browse the repository at this point in the history
  • Loading branch information
neilsarkar committed Sep 4, 2020
1 parent 20c89b0 commit 377a2c8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Runtime/Navigation/Navigator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,8 @@ void LoadScreens() {
OnReady?.Invoke();
}

protected virtual void OnScreenAdded(GameObject gameObject) { }

#if UNITY_EDITOR
[HideInInspector] public VioletScreen EditingScreen;
[SerializeField, HideInInspector] ScreenId originalHomeScreen;
Expand Down Expand Up @@ -235,7 +237,6 @@ public void AddScreen() {
EditingScreen = screen;
}

protected virtual void OnScreenAdded(GameObject gameObject) { }

float lastUpdate;
int childCount;
Expand Down

0 comments on commit 377a2c8

Please sign in to comment.