/////////////////////////////////////////////////////////////////////////////////////////////////////// /// <summary> /// DrawProjectedDecalsMode /// # Draw al gui buttons, checboxes, ... to handle and insert projected decals in scene /// </summary> /////////////////////////////////////////////////////////////////////////////////////////////////////// void DrawProjectedDecalsMode() { Material actualMaterial = EditorBasicFunctions.DrawProjectedDecalElements(projectedDecalPrefab, true, position, configSaver); if (actualMaterial) { EditorBasicFunctions.DrawEditorBox(actualMaterial.name, Color.yellow, position); } else { EditorBasicFunctions.DrawEditorBox("No projected decal selected to put!", Color.gray, position); } }