Method GetKey GetKey() Gets the key that defines this component attachment, the key is used to identify the component in a map. Declaration public override string GetKey() Returns Type Description string Custom Key for that component attachment Overrides IComponentAttachment.GetKey()