Interactable.SetTargeted(Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
Use IsTargeted property instead
Change the targeted state
public:
virtual void SetTargeted(bool targeted);
[System.Obsolete("Use IsTargeted property instead")]
public virtual void SetTargeted (bool targeted);
[<System.Obsolete("Use IsTargeted property instead")>]
abstract member SetTargeted : bool -> unit
override this.SetTargeted : bool -> unit
Public Overridable Sub SetTargeted (targeted As Boolean)
Parameters
- targeted
- Boolean
- Attributes