void OnSceneGUI() { var renderers = manager.GetComponentsInChildren <SkinnedMeshRenderer>(); foreach (SkinnedMeshRenderer renderer in renderers) { EditorUtility.SetSelectedWireframeHidden(renderer, false); } DrawRecoilRange(); }
void OnSceneGUI() { var renderers = manager.GetComponentsInChildren <SkinnedMeshRenderer>(); foreach (SkinnedMeshRenderer renderer in renderers) { EditorUtility.SetSelectedRenderState(renderer, EditorSelectedRenderState.Hidden); } DrawRecoilRange(); }