public override void Initialize() { hc = gs.GetComponent <HammerComponent>(); hc.prev_hammer_cocked = 1f; hc.hammer_cocked = 1f; }
public override void Initialize() { hc = gs.GetComponent <HammerComponent>(); hvc = gs.GetComponent <HammerVisualComponent>(); hvc.hammer_rel_pos = hvc.hammer.localPosition; hvc.hammer_rel_rot = hvc.hammer.localRotation; }
public override void Initialize() { yc = gs.GetComponent <YokeComponent>(); hc = gs.GetComponent <HammerComponent>(); if (yc.open_yoke_blocks_hammer) { hc.is_blocked_predicates.Add(() => yc.yoke_stage != YokeStage.CLOSED); } }
public override void Initialize() { hc = gs.GetComponent <HammerComponent>(); }