internal static extern bool BakeAllReflectionProbesSnapshots(); /// <summary>
private void OnBakeButton(object data) { if ((int)data == 0) { Lightmapping.BakeAllReflectionProbesSnapshots(); } }