コード例 #1
0
        public void AddPostProcessProfile(PostProcessProfile postProcessProfile)
        {
            PostProcessProfileInfo postProcessProfileInfo =
                new PostProcessProfileInfo {
                PostProcessProfile = postProcessProfile
            };

            PostProcessProfileInfoList.Add(postProcessProfileInfo);
            RefreshPostProcessVolumes();
        }
コード例 #2
0
        public void RefreshPostProcessVolumes()
        {
            BiomeMaskArea[] biomeMaskAreas = Object.FindObjectsOfType <BiomeMaskArea>();

            for (int i = 0; i <= biomeMaskAreas.Length - 1; i++)
            {
                PostProcessProfileInfo postProcessProfileInfo = Instance_GetPostProcessProfileInfo(biomeMaskAreas[i].BiomeType);
                biomeMaskAreas[i].RefreshPostProcessVolume(postProcessProfileInfo, PostProcessingLayer);
            }
        }