예제 #1
0
    void OnSceneGUI()
    {
        var renderers = manager.GetComponentsInChildren <SkinnedMeshRenderer>();

        foreach (SkinnedMeshRenderer renderer in renderers)
        {
            EditorUtility.SetSelectedWireframeHidden(renderer, false);
        }
        DrawRecoilRange();
    }
예제 #2
0
    void OnSceneGUI()
    {
        var renderers = manager.GetComponentsInChildren <SkinnedMeshRenderer>();

        foreach (SkinnedMeshRenderer renderer in renderers)
        {
            EditorUtility.SetSelectedRenderState(renderer, EditorSelectedRenderState.Hidden);
        }
        DrawRecoilRange();
    }