fix bug with layers

This commit is contained in:
ilia 2022-01-25 14:06:02 +03:00
parent ae09e7358c
commit 8db0339620

View File

@ -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() {