UnityEngine.UserAuthorizationDialog.Start C# (CSharp) Method

Start() private method

private Start ( ) : void
return void
        private void Start()
        {
            this.warningIcon = Resources.GetBuiltinResource(typeof(Texture2D), "WarningSign.psd") as Texture2D;
            if ((Screen.width < 0x181) || (Screen.height < 0x9b))
            {
                Debug.LogError("Screen is to small to display authorization dialog. Authorization denied.");
                Application.ReplyToUserAuthorizationRequest(false);
            }
            this.windowRect = new Rect((float) ((Screen.width / 2) - 0xc0), (float) ((Screen.height / 2) - 0x4d), 385f, 155f);
        }
    }