public TextManager(ICoroutineContext coroutineContext, string packageName) { mCoroutineContext = coroutineContext ?? throw new ArgumentNullException("coroutineContext"); mCurrLoadedPackage = null; mLocalizationPackageName = packageName; }
public void Setup(GameObject prefab, Transform layout, System.Action <T, U> initFunc = null, System.Func <T, T, bool> isEqualData = null, System.Func <T, T, int> compareFunc = null, ICoroutineContext context = null) { this.viewPrefab = prefab; this.layout = layout; this.initFunc = initFunc; this.isEqualData = isEqualData; this.compareFunc = compareFunc; this.context = context; }