Highlight Plus includes several demo scenes that showcase the various features and capabilities of the asset. These scenes provide practical examples and implementation patterns for developers to learn from and reference.
Demo 1: Highlight Example
Scene: Demo1_HighlightExample.unity
This is the main demonstration scene showcasing the core features of Highlight Plus:
- Interactive highlighting– Click or hover over spheres to see outline, glow, and see-through effects
- Multiple materials– Demonstrates effects on different sphere materials (silk, gold with a reflection probe, and plastic)
- Keyboard controls– Press ‘C’ to randomize the glow color on the gold sphere
- See-through effect– Shows how objects remain visible when occluded by other geometry
- Combined effects– Displays outline, outer glow, and inner glow working together
Demo 2: Selection Example
Scene: Demo2_SelectionExample.unity
Demonstrates the selection system and highlight management:
- Object selection– Click objects to select/deselect them
- Highlight Manager– Shows centralized control of highlight effects
- Persistent selection– Selected objects maintain their highlighted state
- Manual selection– Includes script examples for programmatic selection control
Demo 3: Hit FX Example
Scene: Demo3_HitFXExample.unity
Showcases the hit effect variations:
- Impact effects– Click on objects to trigger hit effects at the contact point
- Different hit styles– Demonstrates overlay and inner glow hit modes
- Audio feedback– Includes sound effects synchronized with hit impacts
- Customizable parameters– Shows various hit effect configurations
Demo 4: Target Click Example
Scene: Demo4_TargetClickExample.unity
Features the target effect system with advanced functionality:
- Target indicators– Shows rotating target effects on objects and floor
- Click interaction– Target effects respond to mouse clicks
- Object instantiation– Creates new objects at clicked positions
- Surface alignment– New objects align to surface normals
- Center on hit position– Target effects center on the exact click location
- Normal alignment– Target effects align to surface normals
Demo 5: Effects
Scene: Demo5_Effects.unity
Displays extra stylized options and visual variations:
- Stylized outlines– Toon/charcoal style effects
- Dashed outlines– Animated dashed line styles
- Gradient effects– Color gradients in highest quality mode
- Pattern overlays– Polkadots, grid, lines, and zigzag patterns
- Various effect combinations– Shows how different effects work together
Demo 6: Two Managers
Scene: Demo6_TwoManagers.unity
Demonstrates advanced manager configuration:
- Multiple managers– Using two highlight managers simultaneously
- Layer-based targeting– Each manager targets different object layers
- Independent settings– Different highlight configurations per manager
- Coexistence– Shows how multiple managers can work in the same scene
Key Scripts used with demos
The demo scenes include several example scripts:
- HitFxDemo.cs – Shows how to trigger hit effects programmatically
- ManualSelectionDemo.cs – Demonstrates selection API usage (keys 1, 2, 3)
- SphereHighlightEventExample.cs – Event handling and color randomization
- CreateOnTargetExample.cs – Object instantiation at target positions
- SphereSelectionEventsExample.cs – Selection event handling
Getting Started
To explore these demos:
- Open any demo scene from Assets/HighlightPlus/Demo/
- Play the scene in the Unity Editor
- Follow the on-screen instructions or scene descriptions
- Examine the GameObjects to see component configurations
- Review the attached scripts to understand implementation patterns
These demo scenes serve as both a showcase of capabilities and a learning resource for implementing Highlight Plus in your own projects.