public UnityEventDetails(UnityComponentDefinition.UnityEventDefinition eventDefinition) { EventName = Formatting.SnakeCaseToCapitalisedCamelCase(eventDefinition.Name); CamelCaseTypeName = Formatting.SnakeCaseToCamelCase(eventDefinition.Name); var payloadTypeName = eventDefinition.RawType.TypeName; FullyQualifiedPayloadTypeName = "global::" + UnityTypeMappings.PackagePrefix + Formatting.CapitaliseQualifiedNameParts(payloadTypeName); }
public UnityEventDetails(UnityComponentDefinition.UnityEventDefinition eventDefinition) { this.eventDefinition = eventDefinition; }