Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


IsExcluded<TContainer, TValue>(Property<TContainer, TValue>, ref TContainer, ref TValue)

Called before visiting each property to determine if the property should be visited.
Read time 1 minuteLast updated 10 days ago

Definition

  • Type: Method
  • Namespace: Unity.Properties
  • Assembly: UnityEngine.PropertiesModule

IsExcluded<T, U>(Property<T, T>, T, T)

protected virtual bool IsExcluded<TContainer, TValue>(Property<TContainer, TValue> property, ref TContainer container, ref TValue value)

Parameters

The property providing access to the data.

container

T
The container being visited.

value

T
The value being visited.

Returns

Type

Description

bool
true
if the property should be skipped; otherwise,
false
.

Remarks

This method is called after all IExcludePropertyAdapter<TValue> have had a chance to run.