// Use this for initialization void Start() { this.animatedEllipsis = this.GetComponent<AnimatedEllipsis>(); this.animatedEllipsis.onCompletion = DisplayMessageOnCompletion; //Start the fake loading operatrion for the determinated animated ellipsis (see below) StartCoroutine(LoadingOperation()); }
// Use this for initialization void Start() { //Initialize the animatedEllipsis. this.animatedEllipsis = this.GetComponent<AnimatedEllipsis>(); //Initialize the delegate this.animatedEllipsis.onCompletion = DisplayMessageOnCompletion; //Start the animation of the indeterminated animated ellipsis this.animatedEllipsis.Animate(1f); }