ReuseAllChunkReuseJudge Class

public class ReuseAllChunkReuseJudge : ChunkReuseJudge

An implementation of a ChunkReuseJudge that returns a JudgementDelegate object which returns true for all inputs. You can add this component to your scene, then assign it to the appropriate field on a Chunk Manager, in order to force a World to reuse game objects between all World Cells on a given World Grouping and LOD.

The result will be that all World Cell's reuse game objects with other World Cell's on a World Grouping and LOD. Note that chunks are never reused between World Cell's on different World Grouping's or LODs.

Methods

GetJudgementLogic()

public sealed override JudgementDelegate GetJudgementLogic()

Gets judgement logic that just returns true for any inputs. This results in all World Cells reusing the chunks of any other World Cell on the World Grouping and LOD. Therefore, this ChunkReuseJudge should only be used when using the same game object for every Streamable Grid Cell on a given World Grouping and LOD.

Returns

JudgementDelegate
The judgement delegate logic.