Beispiel #1
0
 protected override void UpdateEffectType()
 {
     if (mEffectType != EffectType.None)
     {
         mAtlas.AddEffectMaterial(GetShaderNameByEffectType(mEffectType));
     }
     else
     {
         mAtlas.MarkAsChanged();
     }
 }