Exemplo n.º 1
0
 // Event callback (named Submit because it is bound to button On Click
 // and supports pointer click and keyboard/gamepad Submit; do not use
 // EventTrigger component which would require both Pointer Click and Submit)
 public void OnSuspectSubmitted()
 {
     ToggleCrossSuspect();
     CaseFilePageSuspects.InvokeSuspectCrossingChanged(m_SuspectData);
 }
Exemplo n.º 2
0
 // Event callback
 public void OnSuspectHoveredStart()
 {
     // this event call is a bit convoluted, but allows to turn static access to instance access
     // without using a singleton, nor passing CaseFilePageSuspects instance in CaseFileSuspectWidget.Init
     CaseFilePageSuspects.InvokeSuspectHovered(m_SuspectData);
 }