Commit f14f54129075250bae928aef3285dce21582fa37
1 parent
5fea8372
Exists in
master
and in
6 other branches
Fix localism
Showing
1 changed file
with
3 additions
and
13 deletions
Show diff stats
Assets/Scripts/Player Manager/GenericPlayerManager.cs
... | ... | @@ -509,19 +509,9 @@ public abstract class GenericPlayerManager : MonoBehaviour { |
509 | 509 | { |
510 | 510 | WWW www = null; |
511 | 511 | |
512 | - // Função loadAssetBundle é definida pela classe filha | |
513 | - if (!this.regionPath.Equals("")) | |
514 | - { | |
515 | - string aniNameReg = regionPath + @"\" + aniName; | |
516 | - www = loadAssetBundle(aniNameReg); | |
517 | - if (www != null) yield return null; | |
518 | - } | |
519 | - | |
520 | - if (this.regionPath.Equals("") || www.error != null) | |
521 | - { | |
522 | - www = loadAssetBundle(aniName); | |
523 | - if (www != null) yield return null; | |
524 | - } | |
512 | + string aniNameReg = regionPath + @"\" + aniName; | |
513 | + www = loadAssetBundle(aniNameReg); | |
514 | + if (www != null) yield return null; | |
525 | 515 | |
526 | 516 | if (www.error == null) |
527 | 517 | { | ... | ... |