Skip to content

Instantly share code, notes, and snippets.

View YaserAlOsh's full-sized avatar

Yaser YaserAlOsh

View GitHub Profile
@YaserAlOsh
YaserAlOsh / LocalizationsMaster.cs
Last active May 20, 2019 14:12
Texts Localization Solution for the Unity Engine - Unity نظام لتعدد اللغات وتوطين النصوص في محرك الألعاب
//تمت كتابة الملف من قبل الموقع مراحل - لمطوري الألعاب
//http://www.devjourney.epizy.com/عرض-النصوص-بلغات-متعددة-في-untiy/
//يمكن استخدامه في أي مشروع من دون ذكر المرجع
//ولكن لا يسمح بيعه على حدة
//فهو متوفر بشكل مجاني للجميع
namespace Localization
{
public class LocalizationsMaster : MonoBehaviour
@YaserAlOsh
YaserAlOsh / CustomTextFunctions.cs
Last active January 18, 2021 15:35
Handling Arabic Text In Unity Using the Arabic Support Plugin - Fixing The Plugin Issues
//تمت كتابة الملف من قبل الموقع مراحل - لمطوري الألعاب
//http://www.devjourney.epizy.com/النصوص-باللغة-العربية-محرك-unity
//يمكن استخدامه في أي مشروع من دون ذكر المرجع
//ولكن لا يسمح بيعه على حدة
//فهو متوفر بشكل مجاني للجميع
public static class CustomTextFunctions {
public static string FixArabicUITextLines(this Text textUIItem, bool useTashkeel, bool hinduNumbers, string text)
{
textUIItem.text = text;