Beispiel #1
0
 /// <summary>
 /// Received when there's a request to interact with this object
 /// </summary>
 /// <param name="e"></param>
 private void OnInteractEvent(StratusSensor.InteractEvent e)
 {
     this.Activate();
 }
Beispiel #2
0
 /// <summary>
 /// Received when there's a request to interact with this object
 /// </summary>
 /// <param name="e"></param>
 void OnInteractEvent(StratusSensor.InteractEvent e)
 {
     // Signal this object that it's being interacted with
     this.OnInteract(e.source);
 }