Esempio n. 1
0
        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);
        }
Esempio n. 2
0
 public UnityEventDetails(UnityComponentDefinition.UnityEventDefinition eventDefinition)
 {
     this.eventDefinition = eventDefinition;
 }