コード例 #1
0
 private static void OnProjectLoad()
 {
     EditorScene = EditorSceneManager.GetActiveScene();
     if (EditorScene.IsValid())
     {
         CentreSceneView();
         SetCullingDistances(SettingsManager.PrefabRenderDistance, SettingsManager.PathRenderDistance);
         SetClippingDistances();
         EditorApplication.update -= OnProjectLoad;
     }
 }