3d人物模型怎么遮罩呀
//模型
var modeeffect = (GameObject)(GameObject.Instantiate(Resources.Load(unit.ModeType)));
GGraph holder = maininfo.GetChild("head").asCom.GetChild("n1").asGraph;
GoWrapper wrapper = new GoWrapper();
wrapper.supportStencil = true;
wrapper.SetWrapTarget(modeeffect, true);
holder.SetNativeObject(wrapper);
没有用啊
var modeeffect = (GameObject)(GameObject.Instantiate(Resources.Load(unit.ModeType)));
GGraph holder = maininfo.GetChild("head").asCom.GetChild("n1").asGraph;
GoWrapper wrapper = new GoWrapper();
wrapper.supportStencil = true;
wrapper.SetWrapTarget(modeeffect, true);
holder.SetNativeObject(wrapper);
没有用啊
没有找到相关结果
已邀请:
10 个回复
xhandxm
赞同来自:
xhandxm
赞同来自:
xhandxm
赞同来自:
xhandxm
赞同来自:
谷主
赞同来自:
xhandxm
赞同来自:
xhandxm
赞同来自:
谷主
赞同来自:
xhandxm
赞同来自:
xhandxm
赞同来自: