GooglePlayInstant/LoadingScreen/LoadingBar.cs
/// <summary>
/// Creates a loading bar component on the specified loading screen game object's bottom half. Consists of
/// a white rounded border, with a colored loading bar fill in the middle.
/// </summary>
Creates a loading bar component on the specified loading screen game object's bottom half. Consists of
a white rounded border, with a colored loading bar fill in the middle.
Creates a loading bar component on the specified loading screen game object ' s bottom half . Consists of a white rounded border with a colored loading bar fill in the middle .
public static void AddComponent(GameObject loadingScreenGameObject)
        {
            var loadingBarGameObject = new GameObject(LoadingBarGameObjectName);
            loadingBarGameObject.AddComponent<RectTransform>();
            loadingBarGameObject.transform.SetParent(loadingScreenGameObject.transform);
            SetOutline(loadingBarGameObject);
            SetFill(loadingBarGameObject);
        }
public static void AddComponent ( GameObject loadingScreenGameObject ) { var loadingBarGameObject = new GameObject ( LoadingBarGameObjectName ) ; loadingBarGameObject . AddComponent < RectTransform > ( ) ; loadingBarGameObject . transform . SetParent ( loadingScreenGameObject . transform ) ; SetOutline ( loadingBarGameObject ) ; SetFill ( loadingBarGameObject ) ; }
Creates a loading bar component on the specified loading screen game object's bottom half.
Creates a loading bar component on the specified loading screen game object ' s bottom half .
loadingScreenGameObject
GameObject