Ejemplo n.º 1
0
        public override void Create()
        {
            base.Create();

            _mCoreBlur       = new PPCore_Blurs();
            m_RenderMaterial = new Material(Shader.Find("Game/Unlit/Color"))
            {
                hideFlags = HideFlags.HideAndDontSave
            };
            m_RenderDepthMaterial = new Material(Shader.Find("Hidden/CopyDepth"))
            {
                hideFlags = HideFlags.HideAndDontSave
            };
            m_RenderMaterial.SetColor("_Color", Color.white);
            m_ShaderTagIDs.FillWithDefaultTags();
        }
 public override void Create()
 {
     base.Create();
     _mCoreBlur = new PPCore_Blurs();
 }