SearchDocument
Create a new SearchDocument.
Read time 1 minuteLast updated 9 days ago
Definition
- Type: Constructor
- Namespace: UnityEditor.Search
- Assembly: UnityEditor
SearchDocument(string, string, string, int)
Create a new SearchDocument.
public SearchDocument(string id, string name = null, string source = null, int score = 2147483647)
Parameters
SearchDocument(SearchDocument, int)
Create a new SearchDocument.
public SearchDocument(SearchDocument doc, int score)
Parameters
SearchDocument(SearchDocument, string)
Create a new SearchDocument.
public SearchDocument(SearchDocument doc, string path)
Parameters
Source document to copy properties from.
Document path (i.e. asset path or transform path) if any.