コード例 #1
0
 public void Enter(Camera camera)
 {
     Clear();
     shadingView           = UtilityCommon.TryAddComponent <ShadingView>(camera.gameObject);
     shadingView.hideFlags = HideFlags.DontSave | HideFlags.HideInInspector | HideFlags.HideInInspector;
     shadingView.setting   = setting;
     shadingView.Enter(camera);
 }
コード例 #2
0
            public void Enter(Camera camera)
            {
                Clear();
                shadingView           = UtilityCommon.TryAddComponent <ShadingView>(camera.gameObject);
                shadingView.hideFlags = HideFlags.DontSave | HideFlags.HideInInspector | HideFlags.HideInInspector;
                shadingView.setting   = setting;
                shadingView.Enter(camera);


                //if (false/*targetCamera is UICamera*/)
                //{
                //    OptionOpaqueBlack();
                //    OptionShowWhiteNumber();
                //    ShadingView.usingCustomizedRenderer = true;
                //}
            }