Example #1
0
    public void AddBackpackWindowProperly()
    {
        avatarEditorHUDController = new AvatarEditorHUDController();
        avatarEditorHUDController.Initialize(userProfile, AvatarTestHelpers.CreateTestCatalogLocal());
        controller.AddBackpackWindow(avatarEditorHUDController);

        Assert.IsTrue(avatarEditorHUDController.view.gameObject.activeSelf, "Backpack window is disabled!");
    }