LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

This version of Unity is unsupported.

CullingGroup.StateChanged

public delegate void StateChanged(CullingGroupEvent sphere);

Parameters

sphereA CullingGroupEvent that provides information about the sphere that has changed.

Description

This delegate is used for recieving a callback when a sphere's distance or visibility state has changed.

SA: CullingGroup.onStateChanged.