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); }
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; //} }