add reset robot pos and onoff lights by server

This commit is contained in:
Leushina
2026-06-24 13:36:03 +03:00
parent 4fed70bc3d
commit 5c541b051c
9 changed files with 267 additions and 1 deletions
+15
View File
@@ -0,0 +1,15 @@
using UnityEngine;
public class RobotLightOperation : MonoBehaviour
{
//public ROSCollissionDetectionPublisher publisher;
public float maxInensity = 1.0f;
[System.NonSerialized]
public Light light;
void Start()
{
light = GetComponent<Light>();
light.intensity = .0f;
}
}