Optimizations Params

2DDL Documentation

Since 2DDL Version 1.1.0, you will find some fields for customize the 2DDL behavior and avoid extra calculus.

Screen Shot 2015-04-16 at 17.51.35

Light Segments

Render each segment take 3 vertex, so, for optimization side, try to use the least amount possible.

Notify Game Object Reached

What it does ? Activate the notifications when the 2DLight touches/collides with Game Objects.

When is ACTIVE, THE PERFORMANCE IS REDUCED. So if you will not use, deactivated please.

 

Intellider Convex

ALREADY INTEGRATED INSIDE 2DLIGHT SYSTEM.

What it does ? optimize vertex generation for 2DLight mesh.

This mean that if this field is enabled, you take care to use only convex and separate colliders between each other for prevent weird results.
When is ACTIVE, THE PERFORMANCE IS AUGMENTED.

Static Scene 

From version 1.3 and above.

What it does ? avoid search new meshes, convert the dynamics arrays to statics.

This mean that you must load all casters, colliders, objects that react to 2DLight before launch the scene. Don’t allow add new Casters when is in RUN mode.

When is ACTIVE, THE PERFORMANCE IS considerably AUGMENTED.

Rendering Options:

Recalculate Normals

What it does ? recalculate normals mesh when light is resizing, some materials need this value On.

Debug Lines

What it does ? Show On or Off Lines of debug when are working in Unity editor mode.