public string Generate(UnityComponentDefinition unityComponentDefinition, string package) { qualifiedNamespace = UnityTypeMappings.PackagePrefix + package; this.unityComponentDefinition = unityComponentDefinition; return(TransformText()); }
public UnityComponentDetails(UnityComponentDefinition componentDefinition) { ComponentName = Formatting.QualifiedNameToCapitalisedCamelCase(componentDefinition.Name); TypeName = "SpatialOS" + ComponentName; CamelCaseTypeName = "spatialOS" + ComponentName; ComponentId = componentDefinition.Id; IsBlittable = componentDefinition.IsBlittable; }
public string Generate(UnityComponentDefinition unityComponentDefinition, string package, HashSet <string> enumSet) { qualifiedNamespace = package; this.unityComponentDefinition = unityComponentDefinition; this.enumSet = enumSet; return(TransformText()); }
public UnityComponentDetails(UnityComponentDefinition componentDefinition) { ComponentName = Formatting.QualifiedNameToCapitalisedCamelCase(componentDefinition.Name); TypeName = "SpatialOS" + ComponentName; CamelCaseTypeName = "spatialOS" + ComponentName; FullyQualifiedSpatialTypeName = "global::" + Formatting.CapitaliseQualifiedNameParts(componentDefinition.QualifiedName); IsBlittable = componentDefinition.IsBlittable; }
public UnityComponentDetails(UnityComponentDefinition componentDefinition) { this.componentDefinition = componentDefinition; }