Initialer Upload neues Unity-Projekt

This commit is contained in:
oxidiert
2025-07-09 10:58:32 +02:00
commit d43daf9a46
731 changed files with 33028 additions and 0 deletions

View File

@ -0,0 +1,25 @@
// script to delete light after explosition
using UnityEngine;
using System.Collections;
public class light_control : MonoBehaviour {
private float timeout = 0.5f;
public Light Light;
void Start () {
}
void Update () {
if(timeout>0.1f)
{
timeout-=Time.deltaTime;
Light.range=15;
}
else
{
Light.range=0;
}
}
}