C# Class Amazon.UnityInitializer

A singleton instance of which will initialize the Main thread dispatcher & logger. This class is linked to the AWSPrefab so that user can make any configuration changes and instance will be included in every scene via the prefab.
Inheritance: UnityEngine.MonoBehaviour
Afficher le fichier Open project: aws/aws-sdk-net Class Usage Examples

Méthodes publiques

Méthode Description
AttachToGameObject ( GameObject gameObject ) : void

Attaches the initializer to a game object

Awake ( ) : void
IsMainThread ( ) : bool

Checks if the thread is a game/main/unity thread

Private Methods

Méthode Description
UnityInitializer ( ) : System

Method Details

AttachToGameObject() public static méthode

Attaches the initializer to a game object
public static AttachToGameObject ( GameObject gameObject ) : void
gameObject UnityEngine.GameObject The game object to which you attach the initializer to
Résultat void

Awake() public méthode

public Awake ( ) : void
Résultat void

IsMainThread() public static méthode

Checks if the thread is a game/main/unity thread
public static IsMainThread ( ) : bool
Résultat bool