Version: Unity 6.7 Beta (6000.7)
LanguageEnglish
  • C#

Context.ConditionCustomizationEnabled

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

public bool ConditionCustomizationEnabled;

Description

Whether the condition customization feature is enabled for this visualization context. Enabled by default.

When the value is true, icon overrides applied through ConditionReference are honored. When the value is false, ConditionReference.Icon reads the condition's own icon instead of any override. The system preserves the overrides so they're honored again when the value is set to true. Throws ObjectDisposedException when you access this property after you call Context.Dispose on the context.