public static void CB_Scene_AddEntrance() { GameObject sceneManager = GameObject.Find("SceneManager"); if (!sceneManager) { sceneManager = new GameObject("SceneManager"); } if (!E_Helpers.InspectorTagExists("LoadPoint")) { E_Helpers.AddInspectorTag("LoadPoint"); } GameObject entrancePoint = new GameObject("Scene Entrance Point"); E_Helpers.SetObjectIcon(entrancePoint, E_Core.h_sceneEntranceIcon); entrancePoint.layer = 2; entrancePoint.tag = "LoadPoint"; entrancePoint.transform.SetParent(sceneManager.transform); entrancePoint.transform.position = E_Helpers.PositionInFrontOfEditorCamera(); Selection.activeGameObject = entrancePoint; Debug.Log("Successfully created scene entrance point!"); }