public override void Initialize() { ervc = gs.GetComponent <ExtractorRodVisualComponent>(); erc = gs.GetComponent <ExtractorRodComponent>(); ervc.extractor_rod_rel_pos = ervc.extractor_rod.localPosition; ervc.extractor_rod_rel_rot = ervc.extractor_rod.localRotation; }
public override void Initialize() { rcc = gs.GetComponent <RevolverCylinderComponent>(); erc = gs.GetComponent <ExtractorRodComponent>(); if (erc.chamber_offset >= 0) { rcc.can_manual_rotate_predicates.Add(() => erc.extractor_rod_stage == ExtractorRodStage.CLOSED); } }
public override void Initialize() { yc = gs.GetComponent <YokeComponent>(); erc = gs.GetComponent <ExtractorRodComponent>(); if (yc.closed_yoke_blocks_extractor) { erc.can_extract_predicates.Add(() => yc.yoke_stage == YokeStage.OPEN); } }