You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
683 B
34 lines
683 B
3 years ago
|
using AX.TrackRecord;
|
||
|
using System.Collections;
|
||
|
using System.Collections.Generic;
|
||
|
using UnityEngine;
|
||
|
|
||
|
public class JiantouColorControl : MonoBehaviour
|
||
|
{
|
||
|
|
||
|
// Use this for initialization
|
||
|
float time;
|
||
|
public static string ToolName;//闪烁箭头的类型
|
||
|
public static bool highLight;
|
||
|
|
||
|
void Start()
|
||
|
{
|
||
|
|
||
|
}
|
||
|
|
||
|
// Update is called once per frame
|
||
|
void Update()
|
||
|
{
|
||
|
if ((ToolName != null && !ToolName.Equals("")) || LoadManager.Instance.IsPlayBacking)
|
||
|
{
|
||
|
time += Time.deltaTime;
|
||
|
if (time >= 0.3f)
|
||
|
{
|
||
|
time = 0.0f;
|
||
|
highLight = !highLight;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
}
|