public PropertyPathScope(IInspectorVisitor visitor, PropertyPath path) { m_Visitor = visitor; m_Path = visitor.GetCurrentPath(); m_Visitor.ClearPath(); m_Visitor.AddToPath(path); }
public void Dispose() { m_Visitor.ClearPath(); m_Visitor.RestorePath(m_Path); }