Version: Unity 6.1 Alpha (6000.1)
LanguageEnglish
  • C#

PropertyContainer.TryAccept

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

Declaration

public static bool TryAccept(Unity.Properties.IPropertyBagVisitor visitor, ref TContainer container, Unity.Properties.VisitParameters parameters);

Parameters

visitor The visitor.
container The container to visit.
parameters The visit parameters to use.

Returns

bool true if the visitation succeeded; false otherwise.

Description

Tries to visit the specified by ref using the specified .


Declaration

public static bool TryAccept(Unity.Properties.IPropertyBagVisitor visitor, ref TContainer container, out Unity.Properties.VisitReturnCode returnCode, Unity.Properties.VisitParameters parameters);

Parameters

visitor The visitor.
container The container to visit.
parameters The visit parameters to use.
returnCode When this method returns, contains the return code.

Returns

bool true if the visitation succeeded; false otherwise.

Description

Tries to visit the specified by ref using the specified .


Declaration

public static bool TryAccept(Unity.Properties.IPropertyVisitor visitor, ref TContainer container, ref Unity.Properties.PropertyPath path, out Unity.Properties.VisitReturnCode returnCode, Unity.Properties.VisitParameters parameters);

Parameters

visitor The visitor.
container The container to visit.
path The property path to visit.
returnCode When this method returns, contains the return code.
parameters The visit parameters to use.

Description

Visit the specified using the specified at the given PropertyPath.