forked from sin365/AxibugEmuOnline
修复编译报错
This commit is contained in:
parent
2e9d546c0b
commit
fe5c38dafc
@ -27,8 +27,14 @@ namespace AxibugEmuOnline.Client
|
|||||||
{
|
{
|
||||||
RenderScale = new FloatParameter(m_defaultRenderScale);
|
RenderScale = new FloatParameter(m_defaultRenderScale);
|
||||||
GetEditableFilterParamters();
|
GetEditableFilterParamters();
|
||||||
|
|
||||||
|
Init();
|
||||||
|
}
|
||||||
|
|
||||||
|
protected virtual void Init()
|
||||||
|
{
|
||||||
m_material = new Material(Shader.Find(ShaderName));
|
m_material = new Material(Shader.Find(ShaderName));
|
||||||
OnInit(m_material);
|
OnInit(m_material);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected virtual void OnInit(Material renderMat) { }
|
protected virtual void OnInit(Material renderMat) { }
|
||||||
|
Loading…
Reference in New Issue
Block a user