Files
Caleb Sandford deQuincey 715fb68744 Initial commitment
2025-06-25 11:10:11 +01:00

23 lines
484 B
C#

using System.Collections;
using System.Collections.Generic;
using Plugins.RaycastPro.Demo.Scripts;
using RaycastPro.Detectors;
using UnityEngine;
namespace Plugins.RaycastPro.Demo.Scripts
{
public class EnemyTrack : MonoBehaviour
{
public SyncRotation syncRotation;
public LightDetector lightDetector;
void Update()
{
if (lightDetector.Performed)
{
syncRotation.Sync();
}
}
}
}