People Playground Modding
HomeIntroductionFile StructureEmpty mod templateDetailsLayersMod LifecycleMetadataExtended mod descriptionScript FilesShady Code RejectionThe Unity EngineBuilt-in componentsGame assetsTutorialsCreating a modCreating a custom itemCreating a custom behaviourCreating a custom syringeCreating a custom liquidCreating a gun with a custom projectileCreating a custom weapon attachmentSaving, loading, copying, and pastingCustom liquid mixersCode snippetsCartridgesMaterialsParticle effectsPhysical propertiesSpawnable itemsActivation actionRandom sprite assignmentCreating a background scriptChange environment settingsCreate an explosionCreating a lightCustom human spriteDebug drawingEditing pre-existing itemsEmpty entry pointListen for eventsMap IDsRegistering an itemAdding a firearmSpawn particles on activationBasic texture pack systemSource documentationAcceleratorBoltBehaviourAcceleratorGunBehaviourAcidPoisonAcidPoolBehaviourAcidSyringeAcidSyringe.AcidLiquidActionControlBehaviourActionRepresentationActionRepresentation.ActionCategoryActionRepresentation.ActionUniverseActivateIfExpandedGoreActivateIfTutorialActivations.ActivationEventActivations.ActivationEventTypeActivationPropagationActivations.ActivationTargetActivationToggleBehaviourActivationTransformerBehaviourActivatorElectrodeBehaviourActiveSettingIfNotVsyncActOnCollideActOnDestroyActOnDisintegrateActOnShotActOnUserDeleteAdditionalDecalEffectAdrenalinePoisonAdrenalineSyringeAdrenalineSyringe.AdrenalineLiquidAerialFaithPlateBehaviourAirfoilBehaviourAirfoilBehaviour.WingTypeAliveBehaviourAmbientTemperatureGridBehaviourAmbientTemperatureGridBehaviour.CellAndroidLaserBehaviourAndroidSparkCreatorAntiAliasingAntiAliasingRadioButtonAOEPowerToolAppearWhenMouseNearApplicationQuitButtonBehaviourAppliedBandageBehaviourArchelixCasterBehaviourArchelixCasterBoltBehaviourArrayClonerAtomBombBehaviourAtomBombExplosionBehaviourAudioSourceTimeScaleBehaviourUnityEngine.UI.Extensions.AutoCompleteSearchTypeAutomaticSentryControllerAutomaticWheelJointCreatorBackgroundItemLoaderBackgroundItemLoaderStatusBehaviourBallisticsEmitterBallisticsEmitter.CallbackParamsBalloonBehaviourBandageBehaviourBandageWireToolBaseBoltBehaviourBaseControlNamesBathroomMirrorControllerBatteryAttachmentBehaviourBeamCannonBehaviourBeamformerBehaviourBehaviourManager BellBehaviourBellClipBellClipContainerBlackHoleBehaviourBlasterBehaviourBlasterboltBehaviourBleedingParticleBehaviourBloodBloodContainerBloodContainer.PressureDirectionBloodContainer.RefFloatBloodContainer.SerialisableDistributionBloodExplosionBehaviourBloodImpactBehaviourBloodTankBehaviourBloodTankBehaviour.TankModeBloodWireBehaviourBloodWireToolBloomModeBloomModeRadioButtonBlueUseWireToolBoatMotorBehaviourBooleanRadioButtonBoundingBoxBehaviourBreakJointOnBurnBehaviourBreakJointOnShotBehaviourBugReportFormBehaviourBulbBehaviourBulletTracerPoolBurnableSpriteBehaviourBusGeneratorBehaviourButtonBehaviourCableBehaviourCableWireToolCameraControlBehaviourCameraShakeBehaviourCameraSyncBehaviourCannotShareCarBehaviourCardiopulmonaryBypassMachineBehaviourCartridgeCatalogBehaviourCatalogDataCatalogDropdownBehaviourCatalogToggleBehaviourCategoryCategoryButtonBehaviourCeilingTurretBehaviourCenterOfBoundsCenterOfGravityCentrifugeBehaviourChainsawBehaviourChainsawBehaviour.SoftConnectionActivations.ChannelChemistryChemistry.BeverageM04Chemistry.DebugDiscolorationLiquidChemistry.ExoticLiquidChemistry.InertLiquidChemistry.TritiumCirculationBehaviourClearButtonBehaviour
public class ActivationToggleBehaviour
Inherits MonoBehaviour
Controls the Activation Toggle spawnable object.
Fields
public GameObject LightObject
[SkipSerialisation]
Reference to the little glowing light in the center of the object
public bool Activated
Is the object currently sending out signals?
Attention!
This member is obsolete and should not be used. It is a remnant from the past.
bi bij bibi