ILocalizeTarget.cs 678 B

123456789101112131415161718192021222324
  1. using System;
  2. using UnityEngine;
  3. namespace I2.Loc
  4. {
  5. public abstract class ILocalizeTarget : ScriptableObject
  6. {
  7. public abstract bool IsValid(Localize cmp);
  8. public abstract void GetFinalTerms(Localize cmp, string Main, string Secondary, out string primaryTerm, out string secondaryTerm);
  9. public abstract void DoLocalize(Localize cmp, string mainTranslation, string secondaryTranslation);
  10. public abstract bool CanUseSecondaryTerm();
  11. public abstract bool AllowMainTermToBeRTL();
  12. public abstract bool AllowSecondTermToBeRTL();
  13. public abstract eTermType GetPrimaryTermType(Localize cmp);
  14. public abstract eTermType GetSecondaryTermType(Localize cmp);
  15. }
  16. }