func (pr *Params) TargetType() string {
	for pt := range *pr {
		return strings.Split(pt, ".")[0]
	}
	return ""
}
TargetType returns the first part of the path, indicating what type of
object the params apply to.  Uses the first item in the map (which is random)
everything in the map must have the same target.
package params
import (
	"fmt"
	"log"
	"reflect"
	"strconv"
	"strings"
	"github.com/goki/gi/gi"
	"github.com/goki/ki/kit"
)