Determine Possessable location only when it is not set yet
This commit is contained in:
parent
8d7142f3b0
commit
7d41944b98
@ -67,7 +67,8 @@ namespace Passer {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private void OnSceneLoaded(Scene scene, LoadSceneMode mode) {
|
private void OnSceneLoaded(Scene scene, LoadSceneMode mode) {
|
||||||
DetermineSiteLocation();
|
if (_siteLocation == null)
|
||||||
|
DetermineSiteLocation();
|
||||||
}
|
}
|
||||||
|
|
||||||
public string assetPath;
|
public string assetPath;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user