Skip to content

Commit

Permalink
moved class into Editor folder
Browse files Browse the repository at this point in the history
  • Loading branch information
MephestoKhaan committed Jul 17, 2017
1 parent a61900f commit 7cb7bdb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
using System.Collections.Generic;
using UnityEditor;
using UnityEngine;

using UnityEditor;
namespace EventVisualizer.Base
{

public static class EventsFinder
{
public static List<EventCall> FindAllEvents()
{
List<EventCall> calls = new List<EventCall>();
foreach(GameObject go in GetAllObjectsInScene())

foreach (GameObject go in GetAllObjectsInScene())
{
foreach (Component caller in go.GetComponents<Component>())
{
Expand Down Expand Up @@ -58,7 +58,7 @@ public static List<GameObject> GetAllObjectsInScene(bool rootOnly = false)
continue;
}

if (pObject.hideFlags == HideFlags.NotEditable
if (pObject.hideFlags == HideFlags.NotEditable
|| pObject.hideFlags == HideFlags.HideAndDontSave)
{
continue;
Expand Down

0 comments on commit 7cb7bdb

Please sign in to comment.