Legacy Documentation: Version 2018.1 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

AcquisitionSource

enumeration

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

The source through which an item, consumable, or currency was acquired.

Properties

None No available source, or source unknown. Note: Use a string value if the acquisition source is not one of the elements defined in this enumeration.
Store Purchased using currency or consumable resources.
Earned Awarded through an achievement or other in-game interaction.
Promotion Granted as a promotion of some in-game feature or through cross promotion.
Gift Granted without motive other than good feelings.
RewardedAd Granted as a reward for watching an advertisement.
TimedReward Granted periodically.
SocialReward Granted through social engagement.

Did you find this page useful? Please give it a rating: