public override void SetTarget(GameObject target) { this.target = target.GetComponentSafe <SweepBotStation>(); if ((UnityEngine.Object) this.target == (UnityEngine.Object)null) { return; } this.configurator = this.target.sweepBot == null ? null : this.target.sweepBot.Get().gameObject.GetComponentSafe <SweepyConfigurator>(); this.LoadSweepyStation(); }
internal SweepBotStationSideScreen() { this.target = (SweepBotStation)null; }
public override void ClearTarget() => this.target = (SweepBotStation)null;
public static void Postfix(SweepBotStation __instance) { __instance.GetComponent <KSelectable>().AddStatusItem(SweepyStrings.StorageStatus, __instance.GetComponents <Storage>()[1]); }