1
0

initial commit

This commit is contained in:
LupiNexMedia
2026-04-28 09:32:03 +02:00
commit f84f5c592b
2173 changed files with 376140 additions and 0 deletions
@@ -0,0 +1,28 @@
using UnityEngine;
using System.Collections;
public class ActivateObjectAfterDelay : MonoBehaviour
{
// Time delay in seconds
public float delay = 5.0f;
// Use this for initialization
void Start()
{
// Start the coroutine
StartCoroutine(ActivationRoutine());
}
// Coroutine to activate child objects after a delay
private IEnumerator ActivationRoutine()
{
// Wait for the specified delay
yield return new WaitForSeconds(delay);
// Activate all child objects
foreach (Transform child in transform)
{
child.gameObject.SetActive(true);
}
}
}