19 [
DisableIf(
"enableManualTransition", isEqualTo:
false)]
24 for (
int i = 0; i < transform.childCount; i++) {
25 var child = transform.GetChild(i).gameObject;
26 if (child.activeInHierarchy) {
34 private void Awake() {
36 for (
int i = 0; i < transform.childCount; i++) {
37 if (transform.GetChild(i).gameObject.activeSelf) {
43 if (enabledCount != 1) {
44 for (
int i = 0; i < transform.childCount; i++) {
45 transform.GetChild(i).gameObject.SetActive(i == 0);
50 private void Update() {
52 for (
int i = 0; i < transform.childCount; i++) {
53 var child = transform.GetChild(i).gameObject;
54 if (child.activeSelf) {
55 var t = child.GetComponent<TransitionBehaviour>();
KeyCode manualTransitionKey
bool enableManualTransition