Search Unity

How to turn off the lighting in the animation playback window

Discussion in 'Editor & General Support' started by hellaeon, Jan 18, 2020.

  1. hellaeon

    hellaeon

    Joined:
    Jul 20, 2010
    Posts:
    90
    Hi all,

    When I view a view an animation or see the playback window in the animator controller, the window that plays it has lighting applied and I would like to turn it off. Please find attached the inspector window I mean and the effect of the lighting.

    I was wondering if there is an option somewhere or if someone knows how to override the inspector settings for this window to achieve what I want. I have been looking at the editor script solution but cant solve it.
    I have tried many things like changing the camera background, light settings, but nothing seems to help.

    Further inspection of the unity classes has led me to
    https://github.com/Unity-Technologi.../Editor/Mono/Inspector/AnimationClipEditor.cs where I can now at least get an indication of when the player window pops up. I need to get access to the AvatarPreview or make one myself.

    Has anyone played in this area before?

    cheers
     

    Attached Files:

    Last edited: Jan 19, 2020