Aimbot-ParallelEnv/Assets/Script/selectEffect.cs
Koha9 ff094aaba5 V3.0 追加控制模式,改进代码
追加控制模式,实现鼠标在地图中的坐标映射
追加控制UI
Todo:
游戏流程修改
游戏State对应修改
2023-04-09 23:35:38 +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);
}
}
}