public override void Initialize() { mlc = gs.GetComponent <ManualLoadingComponent>(); cc = gs.GetComponent <ChamberComponent>(); mlc.can_insert_predicates.Add(() => cc.is_closed == mlc.load_when_closed); }
public override void Initialize() { sc = gs.GetComponent <SlideComponent>(); cc = gs.GetComponent <ChamberComponent>(); mc = gs.GetComponent <MagazineComponent>(); mlc = gs.GetComponent <ManualLoadingComponent>(); }
public override void Initialize() { asc = gs.GetComponent <AlternativeStanceComponent>(); sc = gs.GetComponent <SlideComponent>(); mc = gs.GetComponent <MagazineComponent>(); cc = gs.GetComponent <ChamberComponent>(); lbc = gs.GetComponent <LockableBoltComponent>(); mlc = gs.GetComponent <ManualLoadingComponent>(); rcc = gs.GetComponent <RevolverCylinderComponent>(); }
public override void Initialize() { cc = gs.GetComponent <ChamberComponent>(); if (Random.Bool() && !gs.IsSlidePulledBack() && !gs.IsSlideLocked()) { cc.active_round = GameObject.Instantiate(gs.full_casing, cc.point_chambered_round.position, cc.point_chambered_round.rotation, gs.transform); cc.active_round.transform.localScale = Vector3.one; cc.active_round_state = RoundState.READY; RemoveChildrenShadows(cc.active_round); } }
public override void Initialize() { acavc = gs.GetComponent <AmmoCountAnimatorVisualComponent>(); cc = gs.GetComponent <ChamberComponent>(); }
public override void Initialize() { lbc = gs.GetComponent <LockableBoltComponent>(); cc = gs.GetComponent <ChamberComponent>(); }