Collider 2D = gameObject.GetComponent<PolygonCollider2D>; /// CS10022D не подходитPolygonCollider2D не конвертится в тип Collider. Указывай тот же тип возвращаемого компонента, который ты хочешь получить методом GetComponent. В данном случае это PolygonCollider2DGetComponentCollider 2D = gameObject.GetComponent<PolygonCollider2D>; ///CS1002
PolygonCollider2D = true;other.enabled = true;rewardedAd = new RewardedAd(RewardedUnitId);
AdRequest adRequest = new AdRequest.Builder().Build();
rewardedAd.LoadAd(adRequest);rewardedAd.IsLoaded() будет выдавать false. OnInspectorGUI тебе нужно в зависимости от выбранного типа показывать то или иное поле у компонента. boolean переменную в Player Prefs.Около 7 дней. Написано прям в гуглоконсоли. Может повезет и будет чуть меньше (4-5 дней). Может не повезет и будет дольше.
Причем модерация ручная - как когда то у эпплов.
GameObject.activeSelf и GameObject.activeInHierarchy. Первый проверяет активность объекта отдельно, второй - в иерархии.. hasReceipt, которое работает с товарами типа Subscription и Non Costumable. . hasReceipt, иначе смотрю в PlayerPrefs.
I forgot to uncheck the "Ad Test Mode". I've deployed a game onto the google play store and then I've unchecked the check box of "Ad Test Mode". My unity developer said this check box connected to their server so don't worry ad will start working after 1 or 2 days.