8 [
Attribute(
"", uiwidget: UIWidgets.Object,
"Signals names")]
9 protected ref array<string> m_aSignalNames;
11 [
Attribute(
"false", uiwidget: UIWidgets.EditBox,
"Print signals registered on sound component into log")]
14 [
Attribute(
"false", uiwidget: UIWidgets.EditBox,
"Print signals registered on sound component into log")]
26 override void EOnFrame(IEntity owner,
float timeSlice)
30 Print(
"------------------");
52 m_SoundComponent = SoundComponent.Cast(genEnt.FindComponent(SoundComponent));
56 ClearEventMask(owner, EntityEvent.FRAME);
62 SetEventMask(owner, EntityEvent.FRAME | EntityEvent.INIT);
65 foreach (
string name: m_aSignalNames)
81 Print(
"------- Registered signals on sound component -------");