예제 #1
0
 private void SetMaster(IMultitoolMasterable master)
 {
     if (master is LightSwitchV2 lightSwitch && lightSwitch != relatedLightSwitch)
     {
         SubscribeToSwitchEvent(lightSwitch);
     }
예제 #2
0
 bool IMultitoolSlaveable.TrySetMaster(PositionalHandApply interaction, IMultitoolMasterable master)
 {
     SetMaster(master);
     return(true);
 }
예제 #3
0
 void IMultitoolSlaveable.SetMasterEditor(IMultitoolMasterable master)
 {
     SetMaster(master);
 }