Beispiel #1
0
 public virtual void Play()
 {
     SMaterialEffect_Base.enableMatsKeyword(this.owner.mats, this.shaderKeyword, true);
 }
Beispiel #2
0
 public virtual void OnMeshChanged(ListView <Material> oldMats, ListView <Material> newMats)
 {
     SMaterialEffect_Base.enableMatsKeyword(oldMats, this.shaderKeyword, false);
     SMaterialEffect_Base.enableMatsKeyword(newMats, this.shaderKeyword, true);
 }
Beispiel #3
0
 public virtual void Stop()
 {
     SMaterialEffect_Base.enableMatsKeyword(this.owner.mats, this.shaderKeyword, false);
 }