Neodroid
0.2.0
Machine Learning Environment Prototyping Tool
CameraSensorComponent.cs
Go to the documentation of this file.
1
#if ECS_EXISTS
2
using
System
;
3
using
Unity.Entities;
4
5
namespace
droid
.Runtime.EcsPrototyping.Components.Sensors
6
{
7
// Serializable attribute is for editor support.
8
[Serializable]
9
public
struct
HelloRotationSpeed : IComponentData
10
{
11
public
float
rotationalMultiplier;
12
}
13
14
// ComponentDataWrapper is for creating a Monobehaviour representation of this component (for editor support).
15
[
UnityEngine
.DisallowMultipleComponent]
16
public
class
HelloRotationSpeedComponent : ComponentDataWrapper<HelloRotationSpeed> { }
17
}
18
#endif
System
droid
UnityEngine
Runtime
EcsPrototyping
Components
Sensors
CameraSensorComponent.cs
Generated by
1.8.13