public ObjectTreeViewer(MonoBehaviour pluginObject, GameObjectSearcher gameObjectSearcher) { if (pluginObject == null) { throw new ArgumentNullException(nameof(pluginObject)); } _gameObjectSearcher = gameObjectSearcher ?? throw new ArgumentNullException(nameof(gameObjectSearcher)); pluginObject.StartCoroutine(SetWireframeCo()); }
public ObjectTreeViewer(MonoBehaviour pluginObject, GameObjectSearcher gameObjectSearcher) { if (pluginObject == null) { throw new ArgumentNullException(nameof(pluginObject)); } if (gameObjectSearcher == null) { throw new ArgumentNullException(nameof(gameObjectSearcher)); } _gameObjectSearcher = gameObjectSearcher; _windowId = GetHashCode(); }