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 ExistifUnderwater
Inherits MonoBehaviour
Sets the GameObject's active state based on if the given point is under water
Fields
public Vector2 Offset
The point that is checked
public Space Space
The space in which the point is checked
public bool Invert
Should the active state be inverted?
Attention!
This member is obsolete and should not be used. It is a remnant from the past.
bi bij bibi