public override void OnDetach() { ViewportPanel = null; }
public override void OnAttach() { ViewportPanel = EditorLayer.Instance.GetPanel <ViewportPanel>(); }