public void Init(SurveyorProbe localProbe)
 {
     _attachedProbe = localProbe;
     _attachedProbe.OnLaunchProbe        += OnLaunchProbe;
     _attachedProbe.OnAnchorProbe        += OnAnchorProbe;
     _attachedProbe.OnUnanchorProbe      += OnUnanchorProbe;
     _attachedProbe.OnRetrieveProbe      += OnRetrieveProbe;
     _attachedProbe.OnProbeDestroyed     += OnProbeDestroyed;
     _attachedProbe.OnStartRetrieveProbe += OnStartRetrieveProbe;
 }
 private void OnLaunchProbe(SurveyorProbe probe) =>
 this.SendMessage(new LaunchProbeMessage(true));
Example #3
0
 private void HandleRetrieve(SurveyorProbe probe) => SendEvent(CreateMessage(false));
 private static void OnLaunchProbe(SurveyorProbe probe) =>
 new PlayerLaunchProbeMessage().Send();
Example #5
0
 private void HandleLaunch(SurveyorProbe probe) => SendEvent(CreateMessage(true));