コード例 #1
0
 private void SetMaster(IMultitoolMasterable master)
 {
     if (master is LightSwitchV2 lightSwitch && lightSwitch != relatedLightSwitch)
     {
         SubscribeToSwitchEvent(lightSwitch);
     }
コード例 #2
0
ファイル: FireLock.cs プロジェクト: unitystation/unitystation
 bool IMultitoolSlaveable.TrySetMaster(PositionalHandApply interaction, IMultitoolMasterable master)
 {
     SetMaster(master);
     return(true);
 }
コード例 #3
0
 void IMultitoolSlaveable.SetMasterEditor(IMultitoolMasterable master)
 {
     SetMaster(master);
 }