mirror of
https://github.com/evgen-app/steampunk-quest.git
synced 2024-11-10 18:56:33 +03:00
fix bug with layers
This commit is contained in:
parent
ae09e7358c
commit
8db0339620
|
@ -49,6 +49,7 @@ public class HintSpawner : MonoBehaviour
|
|||
_hint.transform.SetParent(canv.gameObject.transform);
|
||||
activeButton.GetComponent<CrossButtonHandler>().isSpawnerHint = false;
|
||||
}
|
||||
activeButton.transform.SetSiblingIndex(activeButton.transform.parent.childCount);
|
||||
}
|
||||
|
||||
void Update() {
|
||||
|
|
Loading…
Reference in New Issue
Block a user