GiftingPointsService Class |
Namespace: ImmerseSDK.UI
public class GiftingPointsService : SingletonBehaviour
The GiftingPointsService type exposes the following members.
Name | Description | |
---|---|---|
GiftingPointsService | Initializes a new instance of the GiftingPointsService class |
Name | Description | |
---|---|---|
AddPoints |
Add points for a user
| |
CoroutineInitialise |
Override this to perform initialisation tasks
This coroutine is started in Awake().
To execute code in Awake(), override OnAwake()
(Overrides SingletonBehaviourCoroutineInitialise.) | |
ForAllUsers |
Iterate through all the users we are currently tracking
| |
OnAwake |
Override this method to call code in the Awake() method (after singleton registration, but before coroutine)
(Overrides SingletonBehaviourOnAwake.) | |
OnDestroy |
Unity component method
(Overrides SingletonBehaviourOnDestroy.) | |
RemovePoints |
Remove points for a user
|
Name | Description | |
---|---|---|
OnUsersUpdated |
Event that is fired when a score changed, or a user is added or removed
|
Name | Description | |
---|---|---|
TestingPointsMenu |
Debug variable
|
Name | Description | |
---|---|---|
GetCopyOf |
Copies all properties of a component from source to target. Uses reflection to set properties.
(Defined by ComponentExtensions.) | |
WaitForT |
Waits for a singleton on a coroutine
(Defined by SingletonManager.) |