Aimbot-ParallelEnv/Assets/Script/Play/selectEffect.cs
Koha9 64e477d6c2 V3.1 控制模式完成
完成控制模式中UI,解决所有逻辑问题。控制模式于Unity中正常运行,可正常判断结束。
2023-06-29 15:18:10 +09:00

17 lines
331 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class selectEffect : MonoBehaviour
{
// Update is called once per frame
void Update()
{
// if this gameobject exist over 5s, destroy it
if (Time.time > 5)
{
Destroy(gameObject);
}
}
}