add reset robot pos and onoff lights by server
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user