GlassProxy

From Superboss Games Wiki
Jump to navigation Jump to search

Introduction

The GlassProxy as it appears in Unity

The Glass Proxy is a proxy prefab in the IntruderMM. It can be used to create breakable glass surfaces in your custom level.

Function

The Glass Proxy appears in Unity as a rectangle with the Glass material. When placed, upon map load the surface will gain glass properties as selected in Unity. When destroyed, it will create glass particles and leave behind glass edges in the area where it was placed.

The glass can be resized on the X and Y axes to fit the desired area, as well as rotated as desired. Scaling on the Z axis, however, will not cause the glass to adapt increased or decreased thickness in game. Glass can be broken by shooting (the amount of bullets required dictated by the HP value), destroyed in one hit by hands, or by falling bodies.

Parameters

The Glass Proxy's parameters in Unity are displayed below.

  • HP
    • Integer. Determines the amount of shots to the glass required for it to break. Glass will always break instantly to falling bodies or hands regardless of this setting.


IntruderMM Assets
Items Name
Prefabs BriefcaseProxy - CustomDoorProxy - DoorProxy - EquipmentManager - GlassProxy - GoalPointProxy - Keypad - Ladder - LockedObject - MortarProxy - Mover Parent - NoteProxy - ObserveCamProxy - Pickup - RandomGunPickup - RandomItemPickup - SecuritySetup - SlidingDoor - SpawnA - SpawnB - WaterLevel - WindProxy - ZipLine - Limits
Scripts ActivateActivator - Activator - AdvancedMaterial - AnimateColor - BriefcaseProxy (Script) - CustomDoorProxy - CustomLevelSettings - CustomMapSkins - DestructibleProxy - DoorProxy - EquipmentManager - GlassProxy - GoalPointProxy - GravityProxy - HackModeProxy - HideOnStart - IgnoreSticky - KeypadProxy - LayerProxy - LockedObject - MaterialManager - MortarProxy - Mover - NoteProxy - ObjectiveTabSettings - ObjectTagger - ObserveCamProxy - PickupProxy - PlayAudio - ReplaceAll - ResetProxy - ScrollingUVs - SecurityRoom - SecurityScreen - SetTagsAndLayers - SoundSettings - TimedObjectDestroyer - TuningProxy - WindProxy - World Screen Object - ZiplineProxy
Level/Maps Target - SniperRange - Demo