void OnEnable() { LocalizationManager.SetInstance(); englishFontAssetDetails = serializedObject.FindProperty("EnglishFontAssetDetails"); farsiFontAssetDetails = serializedObject.FindProperty("FarsiFontAssetDetails"); }
void OnEnable() { LocalizationManager.SetInstance(); TargetLocalize = (Localize)target; targetComponent = serializedObject.FindProperty("Target"); audioClips = serializedObject.FindProperty("AudioClips"); sprites = serializedObject.FindProperty("Sprites"); localizedString = serializedObject.FindProperty("LocalizedString"); gridLayoutGroupProperties = serializedObject.FindProperty("GridLayoutGroupProperties"); horizontalOrVerticalLayoutGroupProperties = serializedObject.FindProperty("HorizontalOrVerticalLayoutGroupProperties"); outline = serializedObject.FindProperty("Outline"); rectTransformProperties = serializedObject.FindProperty("RectTransformProperties"); fixedFontAsset = serializedObject.FindProperty("FixedFontAsset"); fixedFontAssetDetails = serializedObject.FindProperty("FixedFontAssetDetails"); isContainsAtSign = serializedObject.FindProperty("IsContainsAtSign"); }