of

fun of(stringKey: String): PrefabKey

Creates a key from a string with namespace and key separated by one ':' character.


fun of(namespace: String, name: String): PrefabKey

Creates a key from a namespace and name which must not contain any ':' characters.