Ejemplo n.º 1
0
        private CompilationPlatformInfo(string name, BuildTarget buildTarget,
                                        HashSet <string> commonPlatformDefines, HashSet <string> additionalPlayerDefines, HashSet <string> additionalInEditorDefines,
                                        IReadOnlyList <string> commonPlatformReferences, IReadOnlyList <string> additionalPlayerReferences, IReadOnlyList <string> additionalInEditorReferences)
        {
            Name             = name;
            BuildTarget      = buildTarget;
            BuildTargetGroup = Utilities.GetBuildTargetGroup(BuildTarget);

            TargetFramework = BuildTargetGroup.GetTargetFramework();

            CommonPlatformDefines     = commonPlatformDefines;
            AdditionalPlayerDefines   = additionalPlayerDefines;
            AdditionalInEditorDefines = additionalInEditorDefines;

            CommonPlatformReferences     = commonPlatformReferences;
            AdditionalPlayerReferences   = additionalPlayerReferences;
            AdditionalInEditorReferences = additionalInEditorReferences;
        }