public AttackPopupTurreted(ActorInitializer init, AttackPopupTurretedInfo info) : base(init.self) { Info = info; Turret = init.self.Trait<Turreted>(); if (init.Contains<SkipMakeAnimsInit>()) buildComplete = true; }
public AttackPopupTurreted(ActorInitializer init, AttackPopupTurretedInfo info) : base(init.self) { Info = info; Turret = init.self.Trait<Turreted>(); if (init.Contains<SkipMakeAnimsInit>()) { State = PopupState.Closed; init.self.Trait<RenderBuilding>() .PlayCustomAnimRepeating(init.self, "closed-idle"); Turret.desiredFacing = null; } }