public class PhysicsProp : GrabbableObject { public bool setPlayerEnteredFactory; public override void EquipItem() { base.EquipItem(); if (setPlayerEnteredFactory) { StartOfRound.Instance.hasPlayerEnteredFactory = true; } } protected override void __initializeVariables() { base.__initializeVariables(); } protected internal override string __getTypeName() { return "PhysicsProp"; } }