added additional fonts, added localization for more languages. Fixed warnings and reworked table loading
This commit is contained in:
Родитель
45d8d0363b
Коммит
587d6bd393
|
@ -10,8 +10,14 @@
|
|||
/[Ll]ogs/
|
||||
/[Mm]emoryCaptures/
|
||||
|
||||
# Testing scripts and Scenes
|
||||
/Assets/UX/Scenes/Test/
|
||||
Assets/UX/Scenes/Test.meta
|
||||
/Assets/UX/Scripts/Test/
|
||||
Assets/UX/Scripts/Test.meta
|
||||
|
||||
# Asset meta data should only be ignored when the corresponding asset is also ignored
|
||||
!/[Aa]ssets/**/*.meta
|
||||
#!/[Aa]ssets/**/*.meta
|
||||
|
||||
# Uncomment this line if you wish to ignore the asset store tools plugin
|
||||
/[Aa]ssets/AssetStoreTools*
|
||||
|
|
|
@ -0,0 +1,8 @@
|
|||
fileFormatVersion: 2
|
||||
guid: f5d33166d303b4a2397bdf306897cc1f
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
Двоичный файл не отображается.
|
@ -0,0 +1,7 @@
|
|||
fileFormatVersion: 2
|
||||
guid: e410ba2a7f53a4a7ab37d6c4d9de397f
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
Двоичные данные
Assets/Common/Fonts/HindGuntur-Medium.ttf
Двоичные данные
Assets/Common/Fonts/HindGuntur-Medium.ttf
Двоичный файл не отображается.
Различия файлов скрыты, потому что одна или несколько строк слишком длинны
Различия файлов скрыты, потому что одна или несколько строк слишком длинны
Различия файлов скрыты, потому что одна или несколько строк слишком длинны
Различия файлов скрыты, потому что одна или несколько строк слишком длинны
Различия файлов скрыты, потому что одна или несколько строк слишком длинны
Различия файлов скрыты, потому что одна или несколько строк слишком длинны
Различия файлов скрыты, потому что одна или несколько строк слишком длинны
|
@ -0,0 +1,8 @@
|
|||
fileFormatVersion: 2
|
||||
guid: e32827a384bbd404fa8a1024307758da
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 0
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
Двоичный файл не отображается.
|
@ -1,5 +1,5 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 39312e1b543994002a23bac8c4841254
|
||||
guid: f6ce4df0a249548de81765d5d3ff3b17
|
||||
TrueTypeFontImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 4
|
||||
|
@ -8,9 +8,9 @@ TrueTypeFontImporter:
|
|||
characterSpacing: 0
|
||||
characterPadding: 1
|
||||
includeFontData: 1
|
||||
fontName: Hind Guntur
|
||||
fontName: Gautami
|
||||
fontNames:
|
||||
- Hind Guntur
|
||||
- Gautami
|
||||
fallbackFontReferences: []
|
||||
customCharacters:
|
||||
fontRenderingMode: 0
|
|
@ -17,6 +17,30 @@ MonoBehaviour:
|
|||
m_SharedData: {fileID: 11400000, guid: e73347035ac044e20aec7d2527943a66, type: 2}
|
||||
m_Metadata:
|
||||
m_Items: []
|
||||
m_TableData: []
|
||||
m_TableData:
|
||||
- m_Id: 4
|
||||
m_Localized: Schauen Sie sich nach mehr Strukturen oder Details um.
|
||||
m_Metadata:
|
||||
m_Items: []
|
||||
- m_Id: 1
|
||||
m_Localized: "Initialisiere Erweiterte Realit\xE4t (AR)"
|
||||
m_Metadata:
|
||||
m_Items: []
|
||||
- m_Id: 3
|
||||
m_Localized: Es ist zu dunkel hier. Versuchen Sie es in einem helleren Bereich.
|
||||
m_Metadata:
|
||||
m_Items: []
|
||||
- m_Id: 2
|
||||
m_Localized: Versuchen Sie sich etwas langsamer zu bewegen.
|
||||
m_Metadata:
|
||||
m_Items: []
|
||||
- m_Id: 6
|
||||
m_Localized: Warten Sie, bis die Verortung beginnt.
|
||||
m_Metadata:
|
||||
m_Items: []
|
||||
- m_Id: 5
|
||||
m_Localized: "Dieser AR Inhalt wird nicht unterst\xFCtzt."
|
||||
m_Metadata:
|
||||
m_Items: []
|
||||
references:
|
||||
version: 1
|
||||
|
|
|
@ -22,36 +22,36 @@ MonoBehaviour:
|
|||
m_Localized: "\u0915\u0943\u092A\u092F\u093E \u0905\u092A\u0928\u0947 \u0907\u0930\u094D\u0926\u0917\u093F\u0930\u094D\u0926
|
||||
\u0905\u0932\u0917 \u0905\u0932\u0917 \u0906\u0915\u093E\u0930 \u0924\u0925\u093E
|
||||
\u0930\u091A\u0928\u093E\u090F\u0902 \u0922\u0942\u0902\u0922\u093C\u0928\u0947
|
||||
\u0915\u093E \u092A\u094D\u0930\u092F\u093E\u0938 \u0915\u0930\u0947\u0902"
|
||||
\u0915\u093E \u092A\u094D\u0930\u092F\u093E\u0938 \u0915\u0930\u0947\u0902."
|
||||
m_Metadata:
|
||||
m_Items: []
|
||||
- m_Id: 1
|
||||
m_Localized: "AR \u0915\u0940 \u0936\u0941\u0930\u0941\u0906\u0924 \u0939\u094B
|
||||
\u0930\u0939\u0940 \u0939\u0948"
|
||||
\u0930\u0939\u0940 \u0939\u0948."
|
||||
m_Metadata:
|
||||
m_Items: []
|
||||
- m_Id: 3
|
||||
m_Localized: " \u0925\u094B\u0921\u093C\u093E \u0905\u0902\u0927\u0947\u0930\u093E
|
||||
m_Localized: "\u0925\u094B\u0921\u093C\u093E \u0905\u0902\u0927\u0947\u0930\u093E
|
||||
\u0939\u0948\u0964 \u0915\u0943\u092A\u092F\u093E \u0915\u093F\u0938\u0940
|
||||
\u092A\u094D\u0930\u0915\u093E\u0936\u093F\u0924 \u0938\u094D\u0925\u093E\u0928
|
||||
\u092A\u0930 \u091C\u093E\u090F\u0902"
|
||||
\u092A\u0930 \u091C\u093E\u090F\u0902."
|
||||
m_Metadata:
|
||||
m_Items: []
|
||||
- m_Id: 2
|
||||
m_Localized: "\u0915\u0943\u092A\u092F\u093E \u0905\u092A\u0928\u0940 \u0917\u0924\u0940
|
||||
\u0927\u0940\u092E\u0940 \u0915\u0930\u0947\u0902"
|
||||
\u0927\u0940\u092E\u0940 \u0915\u0930\u0947\u0902."
|
||||
m_Metadata:
|
||||
m_Items: []
|
||||
- m_Id: 6
|
||||
m_Localized: "\u0915\u0943\u092A\u092F\u093E \u091F\u094D\u0930\u0948\u0915\u093F\u0902\u0917
|
||||
\u0936\u0941\u0930\u0942 \u0939\u094B\u0928\u0947 \u0924\u0915 \u092A\u094D\u0930\u0924\u0940\u0915\u094D\u0937\u093E
|
||||
\u0915\u0930\u0947\u0902"
|
||||
m_Localized: "\u091F\u094D\u0930\u0948\u0915\u093F\u0902\u0917 \u0936\u0941\u0930\u0942
|
||||
\u0939\u094B\u0928\u0947 \u0924\u0915 \u092A\u094D\u0930\u0924\u0940\u0915\u094D\u0937\u093E
|
||||
\u0915\u0930\u0947\u0902."
|
||||
m_Metadata:
|
||||
m_Items: []
|
||||
- m_Id: 5
|
||||
m_Localized: "\u0915\u0943\u092A\u092F\u093E \u091F\u094D\u0930\u0948\u0915\u093F\u0902\u0917
|
||||
\u0936\u0941\u0930\u0942 \u0939\u094B\u0928\u0947 \u0924\u0915 \u092A\u094D\u0930\u0924\u0940\u0915\u094D\u0937\u093E
|
||||
\u0915\u0930\u0947\u0902"
|
||||
m_Localized: "AR \u0909\u092A\u092F\u094B\u0917 \u0915\u0947 \u0932\u093F\u090F
|
||||
\u092A\u0930\u094D\u092F\u093E\u092A\u094D\u0924 \u0938\u0941\u0935\u093F\u0927\u093E\u090F\u0902
|
||||
\u0928\u0939\u0940\u0902 \u0939\u0948."
|
||||
m_Metadata:
|
||||
m_Items: []
|
||||
references:
|
||||
|
|
|
@ -17,6 +17,41 @@ MonoBehaviour:
|
|||
m_SharedData: {fileID: 11400000, guid: e73347035ac044e20aec7d2527943a66, type: 2}
|
||||
m_Metadata:
|
||||
m_Items: []
|
||||
m_TableData: []
|
||||
m_TableData:
|
||||
- m_Id: 4
|
||||
m_Localized: "\u0C2E\u0C40\u0C30\u0C41\u0C28\u0C4D\u0C28 \u0C1A\u0C4B\u0C1F \u0C35\u0C48\u0C35\u0C3F\u0C27\u0C4D\u0C2F\u0C2E\u0C48\u0C28
|
||||
\u0C35\u0C38\u0C4D\u0C24\u0C41\u0C35\u0C41\u0C32 \u0C15\u0C4B\u0C38\u0C2E\u0C4B
|
||||
\u0C35\u0C3F\u0C35\u0C30\u0C3E\u0C32 \u0C15\u0C4B\u0C38\u0C2E\u0C4B \u0C1A\u0C42\u0C21\u0C02\u0C21\u0C3F."
|
||||
m_Metadata:
|
||||
m_Items: []
|
||||
- m_Id: 1
|
||||
m_Localized: "\u0C06\u0C17\u0C4D\u0C2E\u0C46\u0C02\u0C1F\u0C46\u0C21\u0C4D \u0C30\u0C3F\u0C2F\u0C3E\u0C32\u0C3F\u0C1F\u0C40
|
||||
(\u0C0F\u200C\u0C06\u0C30\u0C4D) \u0C2E\u0C4A\u0C26\u0C32\u0C41 \u0C15\u0C3E\u0C28\u0C41\u0C28\u0C4D\u0C28\u0C26\u0C3F."
|
||||
m_Metadata:
|
||||
m_Items: []
|
||||
- m_Id: 3
|
||||
m_Localized: "\u0C07\u0C15\u0C4D\u0C15\u0C21 \u0C35\u0C46\u0C32\u0C41\u0C24\u0C41\u0C30\u0C41
|
||||
\u0C24\u0C15\u0C4D\u0C15\u0C41\u0C35\u0C17\u0C3E \u0C35\u0C41\u0C02\u0C26\u0C3F.
|
||||
\u0C1A\u0C15\u0C4D\u0C15\u0C28\u0C3F \u0C35\u0C46\u0C32\u0C41\u0C24\u0C41\u0C30\u0C41
|
||||
\u0C2A\u0C4D\u0C30\u0C38\u0C30\u0C3F\u0C02\u0C1A\u0C47 \u0C2A\u0C4D\u0C30\u0C26\u0C47\u0C36\u0C3E\u0C28\u0C3F\u0C15\u0C48
|
||||
\u0C1A\u0C42\u0C21\u0C02\u0C21\u0C3F."
|
||||
m_Metadata:
|
||||
m_Items: []
|
||||
- m_Id: 2
|
||||
m_Localized: "\u0C28\u0C46\u0C2E\u0C4D\u0C2E\u0C26\u0C3F\u0C17\u0C3E \u0C15\u0C26\u0C32\u0C21\u0C3E\u0C28\u0C3F\u0C15\u0C3F
|
||||
\u0C2A\u0C4D\u0C30\u0C2F\u0C24\u0C4D\u0C28\u0C3F\u0C02\u0C1A\u0C02\u0C21\u0C3F."
|
||||
m_Metadata:
|
||||
m_Items: []
|
||||
- m_Id: 6
|
||||
m_Localized: "\u0C1F\u0C4D\u0C30\u0C3E\u0C15\u0C3F\u0C02\u0C17\u0C4D \u0C2A\u0C4D\u0C30\u0C3E\u0C30\u0C02\u0C2D\u0C02
|
||||
\u0C15\u0C4B\u0C38\u0C02 \u0C35\u0C47\u0C1A\u0C3F \u0C09\u0C02\u0C21\u0C02\u0C21\u0C3F."
|
||||
m_Metadata:
|
||||
m_Items: []
|
||||
- m_Id: 5
|
||||
m_Localized: "\u0C2E\u0C40 \u0C21\u0C3F\u0C35\u0C48\u0C38\u0C4D \u0C0F\u200C\u0C06\u0C30\u0C4D
|
||||
\u0C1F\u0C46\u0C15\u0C4D\u0C28\u0C3E\u0C32\u0C1C\u0C40\u0C28\u0C3F \u0C38\u0C2A\u0C4B\u0C30\u0C4D\u0C1F\u0C4D
|
||||
\u0C1A\u0C46\u0C2F\u0C4D\u0C2F\u0C26\u0C41."
|
||||
m_Metadata:
|
||||
m_Items: []
|
||||
references:
|
||||
version: 1
|
||||
|
|
|
@ -19,27 +19,27 @@ MonoBehaviour:
|
|||
m_Items: []
|
||||
m_TableData:
|
||||
- m_Id: 1
|
||||
m_Localized:
|
||||
m_Localized: "Bewegen Sie das Ger\xE4t langsam"
|
||||
m_Metadata:
|
||||
m_Items: []
|
||||
- m_Id: 3
|
||||
m_Localized:
|
||||
m_Localized: "Finde einen K\xF6rper zum Folgen"
|
||||
m_Metadata:
|
||||
m_Items: []
|
||||
- m_Id: 4
|
||||
m_Localized:
|
||||
m_Localized: Finde ein Gesicht zum Folgen
|
||||
m_Metadata:
|
||||
m_Items: []
|
||||
- m_Id: 5
|
||||
m_Localized:
|
||||
m_Localized: Finde ein Bild zum Folgen
|
||||
m_Metadata:
|
||||
m_Items: []
|
||||
- m_Id: 6
|
||||
m_Localized:
|
||||
m_Localized: Finde ein Objekt zum Folgen
|
||||
m_Metadata:
|
||||
m_Items: []
|
||||
- m_Id: 2
|
||||
m_Localized:
|
||||
m_Localized: Tippen Sie, um AR zu platzieren
|
||||
m_Metadata:
|
||||
m_Items: []
|
||||
references:
|
||||
|
|
|
@ -20,37 +20,37 @@ MonoBehaviour:
|
|||
m_TableData:
|
||||
- m_Id: 3
|
||||
m_Localized: "\u091F\u094D\u0930\u0948\u0915 \u0915\u0930\u0928\u0947 \u0915\u0947
|
||||
\u0932\u093F\u090F \u0915\u0943\u092A\u092F\u093E \u0915\u093F\u0938\u0940
|
||||
\u0915\u0947 \u0936\u0930\u0940\u0930 \u0915\u0940 \u0913\u0930 \u0926\u0947\u0916\u0947\u0902"
|
||||
\u0932\u093F\u090F \u0915\u093F\u0938\u0940 \u0915\u0947 \u0936\u0930\u0940\u0930
|
||||
\u0915\u0940 \u0913\u0930 \u0926\u0947\u0916\u0947\u0902."
|
||||
m_Metadata:
|
||||
m_Items: []
|
||||
- m_Id: 4
|
||||
m_Localized: "\u091F\u094D\u0930\u0948\u0915 \u0915\u0930\u0928\u0947 \u0915\u0947
|
||||
\u0932\u093F\u090F \u0915\u0943\u092A\u092F\u093E \u0915\u093F\u0938\u0940
|
||||
\u0915\u0947 \u091A\u0947\u0939\u0930\u0947 \u0915\u0940 \u0913\u0930 \u0926\u0947\u0916\u0947\u0902"
|
||||
\u0932\u093F\u090F \u0915\u093F\u0938\u0940 \u0915\u0947 \u091A\u0947\u0939\u0930\u0947
|
||||
\u0915\u0940 \u0913\u0930 \u0926\u0947\u0916\u0947\u0902."
|
||||
m_Metadata:
|
||||
m_Items: []
|
||||
- m_Id: 5
|
||||
m_Localized: "\u091F\u094D\u0930\u0948\u0915 \u0915\u0930\u0928\u0947 \u0915\u0947
|
||||
\u0932\u093F\u090F \u0915\u0943\u092A\u092F\u093E \u0915\u093F\u0938\u0940
|
||||
\u091A\u093F\u0924\u094D\u0930 \u0915\u0940 \u0913\u0930 \u0926\u0947\u0916\u0947\u0902"
|
||||
\u0932\u093F\u090F \u0915\u093F\u0938\u0940 \u091A\u093F\u0924\u094D\u0930
|
||||
\u0915\u0940 \u0913\u0930 \u0926\u0947\u0916\u0947\u0902."
|
||||
m_Metadata:
|
||||
m_Items: []
|
||||
- m_Id: 6
|
||||
m_Localized: "\u091F\u094D\u0930\u0948\u0915 \u0915\u0930\u0928\u0947 \u0915\u0947
|
||||
\u0932\u093F\u090F \u0915\u0943\u092A\u092F\u093E \u0915\u093F\u0938\u0940
|
||||
\u0935\u0938\u094D\u0924\u0941 \u0915\u0940 \u0913\u0930 \u0926\u0947\u0916\u0947\u0902"
|
||||
\u0932\u093F\u090F \u0915\u093F\u0938\u0940 \u0935\u0938\u094D\u0924\u0941
|
||||
\u0915\u0940 \u0913\u0930 \u0926\u0947\u0916\u0947\u0902."
|
||||
m_Metadata:
|
||||
m_Items: []
|
||||
- m_Id: 1
|
||||
m_Localized: "\u0915\u0943\u092A\u092F\u093E \u0921\u093F\u0935\u093E\u0907\u0938
|
||||
\u0915\u0940 \u0917\u0924\u093F \u0927\u0940\u092E\u0940 \u0915\u0930\u0947\u0902"
|
||||
m_Localized: "\u0905\u092A\u0928\u0947 \u0921\u093F\u0935\u093E\u0907\u0938 \u0915\u094B
|
||||
\u0927\u0940\u0930\u0947-\u0927\u0940\u0930\u0947 \u0918\u0941\u092E\u093E\u090F\u0902."
|
||||
m_Metadata:
|
||||
m_Items: []
|
||||
- m_Id: 2
|
||||
m_Localized: "AR \u092A\u094D\u0930\u0938\u094D\u0925\u093E\u092A\u093F\u0924
|
||||
\u0915\u0930\u0928\u0947 \u0915\u0947 \u0932\u093F\u090F \u091F\u0948\u092A
|
||||
\u0915\u0930\u0947\u0902"
|
||||
(place) \u0915\u0930\u0928\u0947 \u0915\u0947 \u0932\u093F\u090F \u091F\u0948\u092A
|
||||
\u0915\u0930\u0947\u0902."
|
||||
m_Metadata:
|
||||
m_Items: []
|
||||
references:
|
||||
|
|
|
@ -35,7 +35,7 @@ MonoBehaviour:
|
|||
m_Metadata:
|
||||
m_Items: []
|
||||
- m_Id: 1
|
||||
m_Localized: Move o dispositivo devagar.
|
||||
m_Localized: Mova o dispositivo devagar.
|
||||
m_Metadata:
|
||||
m_Items: []
|
||||
- m_Id: 2
|
||||
|
|
|
@ -24,12 +24,12 @@ MonoBehaviour:
|
|||
m_Metadata:
|
||||
m_Items: []
|
||||
- m_Id: 4
|
||||
m_Localized: "\u041D\u0430\u0432\u0435\u0434\u0438\u0442\u0435 \u043D\u0430 \u0447\u0435\u043B\u043E\u0432\u0435\u043A\u0430
|
||||
m_Localized: "\u041D\u0430\u0432\u0435\u0434\u0438\u0442\u0435 \u043D\u0430 \u043B\u0438\u0446\u043E
|
||||
\u0434\u043B\u044F \u043D\u0430\u0447\u0430\u043B\u0430 \u0442\u0440\u0435\u043A\u0438\u043D\u0433\u0430"
|
||||
m_Metadata:
|
||||
m_Items: []
|
||||
- m_Id: 5
|
||||
m_Localized: "\u041D\u0430\u0432\u0435\u0434\u0438\u0442\u0435 \u043D\u0430 \u0447\u0435\u043B\u043E\u0432\u0435\u043A\u0430
|
||||
m_Localized: "\u041D\u0430\u0432\u0435\u0434\u0438\u0442\u0435 \u043D\u0430 \u0438\u0437\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435
|
||||
\u0434\u043B\u044F \u043D\u0430\u0447\u0430\u043B\u0430 \u0442\u0440\u0435\u043A\u0438\u043D\u0433\u0430"
|
||||
m_Metadata:
|
||||
m_Items: []
|
||||
|
|
|
@ -17,6 +17,40 @@ MonoBehaviour:
|
|||
m_SharedData: {fileID: 11400000, guid: b07fe4fd9d1db464db74a7ceb07dc23e, type: 2}
|
||||
m_Metadata:
|
||||
m_Items: []
|
||||
m_TableData: []
|
||||
m_TableData:
|
||||
- m_Id: 1
|
||||
m_Localized: "\u0C2E\u0C40 \u0C21\u0C3F\u0C35\u0C48\u0C38\u0C4D \u0C28\u0C3F
|
||||
\u0C28\u0C46\u0C2E\u0C4D\u0C2E\u0C26\u0C3F\u0C17\u0C3E \u0C15\u0C26\u0C2A\u0C02\u0C21\u0C3F."
|
||||
m_Metadata:
|
||||
m_Items: []
|
||||
- m_Id: 2
|
||||
m_Localized: "\u0C0F\u0C06\u0C30\u0C4D \u0C2A\u0C4D\u0C32\u0C47\u0C38\u0C4D \u0C1A\u0C46\u0C2F\u0C4D\u0C2F\u0C21\u0C3E\u0C28\u0C3F\u0C15\u0C3F
|
||||
\u0C1F\u0C4D\u0C2F\u0C3E\u0C2A\u0C4D \u0C1A\u0C46\u0C2F\u0C4D\u0C2F\u0C02\u0C21\u0C3F."
|
||||
m_Metadata:
|
||||
m_Items: []
|
||||
- m_Id: 3
|
||||
m_Localized: "\u0C1F\u0C4D\u0C30\u0C3E\u0C15\u0C4D \u0C1A\u0C46\u0C2F\u0C4D\u0C2F\u0C21\u0C3E\u0C28\u0C3F\u0C15\u0C3F
|
||||
\u0C0E\u0C35\u0C30\u0C48\u0C28\u0C3E \u0C35\u0C4D\u0C2F\u0C15\u0C4D\u0C24\u0C3F\u0C28\u0C3F
|
||||
\u0C0E\u0C02\u0C1A\u0C41\u0C15\u0C4B\u0C02\u0C21\u0C3F."
|
||||
m_Metadata:
|
||||
m_Items: []
|
||||
- m_Id: 4
|
||||
m_Localized: "\u0C1F\u0C4D\u0C30\u0C3E\u0C15\u0C4D \u0C1A\u0C46\u0C2F\u0C4D\u0C2F\u0C21\u0C3E\u0C28\u0C3F\u0C15\u0C3F
|
||||
\u0C0E\u0C35\u0C30\u0C3F\u0C26\u0C2F\u0C3F\u0C28\u0C3E \u0C2E\u0C41\u0C16\u0C3E\u0C28\u0C4D\u0C28\u0C3F
|
||||
\u0C0E\u0C02\u0C1A\u0C41\u0C15\u0C4B\u0C02\u0C21\u0C3F."
|
||||
m_Metadata:
|
||||
m_Items: []
|
||||
- m_Id: 5
|
||||
m_Localized: "\u0C1F\u0C4D\u0C30\u0C3E\u0C15\u0C4D \u0C1A\u0C46\u0C2F\u0C4D\u0C2F\u0C21\u0C3E\u0C28\u0C3F\u0C15\u0C3F
|
||||
\u0C0F\u0C26\u0C48\u0C28\u0C3E \u0C1A\u0C3F\u0C24\u0C4D\u0C30\u0C3E\u0C28\u0C4D\u0C28\u0C3F
|
||||
\u0C0E\u0C02\u0C1A\u0C41\u0C15\u0C4B\u0C02\u0C21\u0C3F."
|
||||
m_Metadata:
|
||||
m_Items: []
|
||||
- m_Id: 6
|
||||
m_Localized: "\u0C1F\u0C4D\u0C30\u0C3E\u0C15\u0C4D \u0C1A\u0C46\u0C2F\u0C4D\u0C2F\u0C21\u0C3E\u0C28\u0C3F\u0C15\u0C3F
|
||||
\u0C0F\u0C26\u0C48\u0C28\u0C3E \u0C35\u0C38\u0C4D\u0C24\u0C41\u0C35\u0C41\u0C28\u0C3F
|
||||
\u0C0E\u0C02\u0C1A\u0C41\u0C15\u0C4B\u0C02\u0C21\u0C3F."
|
||||
m_Metadata:
|
||||
m_Items: []
|
||||
references:
|
||||
version: 1
|
||||
|
|
|
@ -40,7 +40,7 @@ public class ARKitCoachingOverlay : MonoBehaviour
|
|||
{
|
||||
if (GetComponent<ARSession>().subsystem is ARKitSessionSubsystem sessionSubsystem)
|
||||
{
|
||||
return sessionSubsystem.coachingGoal;
|
||||
return sessionSubsystem.requestedCoachingGoal;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -53,7 +53,7 @@ public class ARKitCoachingOverlay : MonoBehaviour
|
|||
m_Goal = (CoachingGoal)value;
|
||||
if (supported && GetComponent<ARSession>().subsystem is ARKitSessionSubsystem sessionSubsystem)
|
||||
{
|
||||
sessionSubsystem.coachingGoal = value;
|
||||
sessionSubsystem.requestedCoachingGoal = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -112,7 +112,7 @@ public class ARKitCoachingOverlay : MonoBehaviour
|
|||
#if UNITY_IOS
|
||||
if (supported && GetComponent<ARSession>().subsystem is ARKitSessionSubsystem sessionSubsystem)
|
||||
{
|
||||
sessionSubsystem.coachingGoal = (ARCoachingGoal)m_Goal;
|
||||
sessionSubsystem.requestedCoachingGoal = (ARCoachingGoal)m_Goal;
|
||||
sessionSubsystem.coachingActivatesAutomatically = m_ActivatesAutomatically;
|
||||
}
|
||||
else
|
||||
|
|
|
@ -172,6 +172,12 @@ public class ARUXAnimationManager : MonoBehaviour
|
|||
|
||||
[SerializeField]
|
||||
LocalizationManager m_LocalizationManager;
|
||||
|
||||
public LocalizationManager localizationManager
|
||||
{
|
||||
get => m_LocalizationManager;
|
||||
set => m_LocalizationManager = value;
|
||||
}
|
||||
|
||||
[SerializeField]
|
||||
bool m_LocalizeText = true;
|
||||
|
|
|
@ -30,9 +30,21 @@ public class ARUXReasonsManager : MonoBehaviour
|
|||
|
||||
[SerializeField]
|
||||
GameObject m_ReasonParent;
|
||||
|
||||
public GameObject reasonParent
|
||||
{
|
||||
get => m_ReasonParent;
|
||||
set => m_ReasonParent = value;
|
||||
}
|
||||
|
||||
[SerializeField]
|
||||
Image m_ReasonIcon;
|
||||
|
||||
public Image reasonIcon
|
||||
{
|
||||
get => m_ReasonIcon;
|
||||
set => m_ReasonIcon = value;
|
||||
}
|
||||
|
||||
[SerializeField]
|
||||
Sprite m_InitRelocalSprite;
|
||||
|
@ -90,10 +102,22 @@ public class ARUXReasonsManager : MonoBehaviour
|
|||
|
||||
[SerializeField]
|
||||
LocalizationManager m_LocalizationManager;
|
||||
|
||||
public LocalizationManager localizationManager
|
||||
{
|
||||
get => m_LocalizationManager;
|
||||
set => m_LocalizationManager = value;
|
||||
}
|
||||
|
||||
[SerializeField]
|
||||
bool m_LocalizeText = true;
|
||||
|
||||
public bool localizeText
|
||||
{
|
||||
get => m_LocalizeText;
|
||||
set => m_LocalizeText = value;
|
||||
}
|
||||
|
||||
NotTrackingReason m_CurrentReason;
|
||||
bool m_SessionTracking;
|
||||
|
||||
|
@ -221,6 +245,12 @@ public class ARUXReasonsManager : MonoBehaviour
|
|||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public void TestForceShowReason(NotTrackingReason reason)
|
||||
{
|
||||
m_CurrentReason = reason;
|
||||
m_ReasonParent.SetActive(true);
|
||||
SetReason();
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -3,6 +3,7 @@ using System.Collections;
|
|||
using System.Collections.Generic;
|
||||
using TMPro;
|
||||
using UnityEngine;
|
||||
using UnityEngine.AddressableAssets;
|
||||
using UnityEngine.Localization;
|
||||
using UnityEngine.Localization.Settings;
|
||||
using UnityEngine.Localization.Tables;
|
||||
|
@ -56,10 +57,11 @@ public class LocalizationManager : MonoBehaviour
|
|||
public string localizedFace;
|
||||
public string localizedImage;
|
||||
public string localizedObject;
|
||||
|
||||
bool m_ReasonsComplete = false;
|
||||
bool m_UXComplete = false;
|
||||
|
||||
bool m_LocalizationComplete = false;
|
||||
|
||||
public bool localizationComplete => m_LocalizationComplete;
|
||||
public bool localizationComplete => m_ReasonsComplete && m_UXComplete;
|
||||
|
||||
[SerializeField]
|
||||
TMP_FontAsset m_SimplifiedChineseFont;
|
||||
|
@ -106,6 +108,15 @@ public class LocalizationManager : MonoBehaviour
|
|||
set => m_HindiFont = value;
|
||||
}
|
||||
|
||||
[SerializeField]
|
||||
TMP_FontAsset m_TeluguFont;
|
||||
|
||||
public TMP_FontAsset teluguFont
|
||||
{
|
||||
get => m_TeluguFont;
|
||||
set => m_TeluguFont = value;
|
||||
}
|
||||
|
||||
[SerializeField]
|
||||
TMP_Text m_InstructionText;
|
||||
|
||||
|
@ -123,112 +134,57 @@ public class LocalizationManager : MonoBehaviour
|
|||
get => m_ReasonText;
|
||||
set => m_ReasonText = value;
|
||||
}
|
||||
|
||||
|
||||
const int k_MaxAutoSizeSC = 70;
|
||||
|
||||
IEnumerator Start()
|
||||
{
|
||||
yield return LocalizationSettings.InitializationOperation;
|
||||
|
||||
// sort list of available languages to match the enum ordering
|
||||
|
||||
LocalizationSettings.AvailableLocales.Locales.Sort();
|
||||
|
||||
LocalizationSettings.SelectedLocale = LocalizationSettings.AvailableLocales.Locales[(int)CurrentLocalizedLanguage];
|
||||
|
||||
SwapFonts(CurrentLocalizedLanguage);
|
||||
|
||||
// get all values at start, dynamic localization (changing language at runtime) not supported with this structure
|
||||
var m_Init = LocalizationSettings.StringDatabase.GetLocalizedStringAsync(k_ReasonTable, k_InitializeKey);
|
||||
yield return m_Init;
|
||||
if (m_Init.IsDone && m_Init.Status == AsyncOperationStatus.Succeeded)
|
||||
{
|
||||
localizedInit = m_Init.Result;
|
||||
}
|
||||
|
||||
var m_Motion = LocalizationSettings.StringDatabase.GetLocalizedStringAsync(k_ReasonTable, k_MotionKey);
|
||||
yield return m_Motion;
|
||||
if (m_Motion.IsDone && m_Motion.Status == AsyncOperationStatus.Succeeded)
|
||||
{
|
||||
localizedMotion = m_Motion.Result;
|
||||
}
|
||||
|
||||
var m_Light = LocalizationSettings.StringDatabase.GetLocalizedStringAsync(k_ReasonTable, k_LightKey);
|
||||
yield return m_Light;
|
||||
if (m_Light.IsDone && m_Light.Status == AsyncOperationStatus.Succeeded)
|
||||
{
|
||||
localizedLight = m_Light.Result;
|
||||
}
|
||||
|
||||
var m_Features = LocalizationSettings.StringDatabase.GetLocalizedStringAsync(k_ReasonTable, k_FeaturesKey);
|
||||
yield return m_Features;
|
||||
if (m_Features.IsDone && m_Features.Status == AsyncOperationStatus.Succeeded)
|
||||
{
|
||||
localizedFeatures = m_Features.Result;
|
||||
}
|
||||
|
||||
var m_Unsupported = LocalizationSettings.StringDatabase.GetLocalizedStringAsync(k_ReasonTable, k_UnsupportedKey);
|
||||
yield return m_Unsupported;
|
||||
if (m_Unsupported.IsDone && m_Unsupported.Status == AsyncOperationStatus.Succeeded)
|
||||
{
|
||||
localizedUnsupported = m_Unsupported.Result;
|
||||
}
|
||||
|
||||
var m_None = LocalizationSettings.StringDatabase.GetLocalizedStringAsync(k_ReasonTable, k_NoneKey);
|
||||
yield return m_None;
|
||||
if (m_None.IsDone && m_None.Status == AsyncOperationStatus.Succeeded)
|
||||
{
|
||||
localizedNone = m_None.Result;
|
||||
}
|
||||
|
||||
var m_Move = LocalizationSettings.StringDatabase.GetLocalizedStringAsync(k_UXTable, k_MoveDeviceKey);
|
||||
yield return m_Move;
|
||||
if (m_Move.IsDone && m_Move.Status == AsyncOperationStatus.Succeeded)
|
||||
{
|
||||
localizedMoveDevice = m_Move.Result;
|
||||
}
|
||||
|
||||
var m_Tap = LocalizationSettings.StringDatabase.GetLocalizedStringAsync(k_UXTable, k_TapToPlaceKey);
|
||||
yield return m_Tap;
|
||||
if (m_Tap.IsDone && m_Tap.Status == AsyncOperationStatus.Succeeded)
|
||||
{
|
||||
localizedTapToPlace = m_Tap.Result;
|
||||
}
|
||||
|
||||
var m_Body = LocalizationSettings.StringDatabase.GetLocalizedStringAsync(k_UXTable, k_BodyKey);
|
||||
yield return m_Body;
|
||||
if (m_Body.IsDone && m_Body.Status == AsyncOperationStatus.Succeeded)
|
||||
{
|
||||
localizedBody = m_Body.Result;
|
||||
}
|
||||
|
||||
var m_Face = LocalizationSettings.StringDatabase.GetLocalizedStringAsync(k_UXTable, k_FaceKey);
|
||||
yield return m_Face;
|
||||
if (m_Face.IsDone && m_Face.Status == AsyncOperationStatus.Succeeded)
|
||||
{
|
||||
localizedFace = m_Face.Result;
|
||||
}
|
||||
|
||||
var m_Image = LocalizationSettings.StringDatabase.GetLocalizedStringAsync(k_UXTable, k_ImageKey);
|
||||
yield return m_Image;
|
||||
if (m_Image.IsDone && m_Image.Status == AsyncOperationStatus.Succeeded)
|
||||
{
|
||||
localizedImage = m_Image.Result;
|
||||
}
|
||||
|
||||
var m_Object = LocalizationSettings.StringDatabase.GetLocalizedStringAsync(k_UXTable, k_ObjectKey);
|
||||
yield return m_Object;
|
||||
if (m_Object.IsDone && m_Object.Status == AsyncOperationStatus.Succeeded)
|
||||
{
|
||||
localizedObject = m_Object.Result;
|
||||
}
|
||||
|
||||
m_LocalizationComplete = true;
|
||||
|
||||
LocalizationSettings.StringDatabase.GetTableAsync(k_ReasonTable).Completed += OnCompletedReasons;
|
||||
LocalizationSettings.StringDatabase.GetTableAsync(k_UXTable).Completed += OnCompletedUX;
|
||||
}
|
||||
|
||||
void OnCompletedUX(AsyncOperationHandle<StringTable> obj)
|
||||
{
|
||||
if (obj.Status == AsyncOperationStatus.Succeeded)
|
||||
{
|
||||
var uxTable = obj.Result;
|
||||
localizedMoveDevice = uxTable.GetEntry(k_MoveDeviceKey).GetLocalizedString();
|
||||
localizedTapToPlace = uxTable.GetEntry(k_TapToPlaceKey).GetLocalizedString();
|
||||
localizedBody = uxTable.GetEntry(k_BodyKey).GetLocalizedString();
|
||||
localizedFace = uxTable.GetEntry(k_FaceKey).GetLocalizedString();
|
||||
localizedImage = uxTable.GetEntry(k_ImageKey).GetLocalizedString();
|
||||
localizedObject = uxTable.GetEntry(k_ObjectKey).GetLocalizedString();
|
||||
|
||||
m_UXComplete = true;
|
||||
}
|
||||
}
|
||||
|
||||
void OnCompletedReasons(AsyncOperationHandle<StringTable> obj)
|
||||
{
|
||||
if (obj.Status == AsyncOperationStatus.Succeeded)
|
||||
{
|
||||
var reasonsTable = obj.Result;
|
||||
localizedInit = reasonsTable.GetEntry(k_InitializeKey).GetLocalizedString();
|
||||
localizedMotion = reasonsTable.GetEntry(k_MotionKey).GetLocalizedString();
|
||||
localizedLight = reasonsTable.GetEntry(k_LightKey).GetLocalizedString();
|
||||
localizedFeatures = reasonsTable.GetEntry(k_FeaturesKey).GetLocalizedString();
|
||||
localizedUnsupported = reasonsTable.GetEntry(k_UnsupportedKey).GetLocalizedString();
|
||||
localizedNone = reasonsTable.GetEntry(k_NoneKey).GetLocalizedString();
|
||||
|
||||
m_ReasonsComplete = true;
|
||||
}
|
||||
}
|
||||
|
||||
void SwapFonts(SupportedLanguages selectedLanguage)
|
||||
{
|
||||
TMP_FontAsset m_FontToSet = null;
|
||||
// only swap fonts for Simplified Chinese, Japanese and Korean
|
||||
// swap fonts for Simplified Chinese, Japanese, Korean, Tamil, Hindi and Telugu
|
||||
switch (selectedLanguage)
|
||||
{
|
||||
case SupportedLanguages.ChineseSimplified:
|
||||
|
@ -249,6 +205,9 @@ public class LocalizationManager : MonoBehaviour
|
|||
case SupportedLanguages.Hindi:
|
||||
m_FontToSet = m_HindiFont;
|
||||
break;
|
||||
case SupportedLanguages.Telugu:
|
||||
m_FontToSet = m_TeluguFont;
|
||||
break;
|
||||
}
|
||||
|
||||
if (m_FontToSet != null)
|
||||
|
|
|
@ -178,6 +178,12 @@ public class UIManager : MonoBehaviour
|
|||
[SerializeField]
|
||||
LocalizationManager m_LocalizationManager;
|
||||
|
||||
public LocalizationManager localizationManager
|
||||
{
|
||||
get => m_LocalizationManager;
|
||||
set => m_LocalizationManager = value;
|
||||
}
|
||||
|
||||
void OnEnable()
|
||||
{
|
||||
ARUXAnimationManager.onFadeOffComplete += FadeComplete;
|
||||
|
@ -260,6 +266,7 @@ public class UIManager : MonoBehaviour
|
|||
|
||||
Func<bool> GetGoal(InstructionGoals goal)
|
||||
{
|
||||
Debug.Log($"getting goal{goal.ToString()}");
|
||||
switch (goal)
|
||||
{
|
||||
case InstructionGoals.FoundAPlane:
|
||||
|
@ -389,5 +396,10 @@ public class UIManager : MonoBehaviour
|
|||
{
|
||||
m_UXOrderedQueue.Enqueue(uxHandle);
|
||||
}
|
||||
|
||||
public void TestFlipPlacementBool()
|
||||
{
|
||||
m_PlacedObject = true;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче