allowPersistentTargets
Allows the tool to target persistent objects. This is only compatible with ScriptableObjects. When you develop tools that target persistent objects, let users know whether they're editing an in-scene or a persistent object.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Property
- Namespace: UnityEditor.EditorTools
- Assembly: UnityEditor.CoreModule
public bool allowPersistentTargets { get; set; }