Editor Interface Flashcards
1
Q
You can use [HideInInspector] to set public class variables in the inspector and remove clutter. You can also use [SerializeField] to make private variables appear in the inspector
A
You do this so you can uphold proper access modifiers while making design changes.
2
Q
You can sort Sprites based on thier Y value by going to Project Settings, Graphics, Camera Settings, and set Transparency Sort Mode to Custom Axis, then set the Y value to 1
A
True