SphereColliderDefinitionsBuilder.

TryGet(int, Transform, SphereDefinition) Method

Summary

If a collider exists at the specified `index` and has a UnityEngine.Transform, this method outputs its details and returns true.

Syntax

public bool TryGet(int index, out Transform transform, out SphereDefinition sphere)

Parameters

Name Type Description
index int
transform Transform
sphere SphereDefinition

Return Value

Type Description
bool