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
Mostrar archivo Open project: aws/aws-sdk-net Class Usage Examples

Public Methods

Method 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

Method Description
UnityInitializer ( ) : System

Method Details

AttachToGameObject() public static method

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
return void

Awake() public method

public Awake ( ) : void
return void

IsMainThread() public static method

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