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

IGroupCondition.Get

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 IEnumerable<ICondition> Get();

Returns

IEnumerable<ICondition> The nested conditions, in the order they appear in the group.

Description

Retrieves the conditions nested in this group.


Declaration

public ICondition Get(int index);

Parameters

Parameter Description
index The zero-based index of the condition to retrieve.

Returns

ICondition The condition at the specified index.

Description

Retrieves the condition at the specified index.

Throws ArgumentOutOfRangeException when the index is less than 0 or greater thanor equal to IGroupCondition.Count