116 {
118 if (data && data.m_Light)
119 {
120 data.m_Light.AttachOnMemoryPoint(
m_Parent, pointName, targetPointName);
121 if (mode == VehicleLightMode.SEGREGATED)
122 data.m_Light.SegregateLight();
123 else if (mode == VehicleLightMode.AGGREGATED)
124 data.m_Light.AggregateLight();
125 }
126 }
PlayerSpawnPresetDiscreteItemSetSlotData name
one set for cargo
void VehicleLightData(VehicleLightProfileBase profile)
ref map< string, ref VehicleLightData > m_LightMap