mirror of
https://github.com/evgen-app/steampunk-quest.git
synced 2024-11-13 03:46:34 +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);
|
_hint.transform.SetParent(canv.gameObject.transform);
|
||||||
activeButton.GetComponent<CrossButtonHandler>().isSpawnerHint = false;
|
activeButton.GetComponent<CrossButtonHandler>().isSpawnerHint = false;
|
||||||
}
|
}
|
||||||
|
activeButton.transform.SetSiblingIndex(activeButton.transform.parent.childCount);
|
||||||
}
|
}
|
||||||
|
|
||||||
void Update() {
|
void Update() {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user