![]() | SnapTarget Methods |
The SnapTarget type exposes the following members.
Name | Description | |
---|---|---|
![]() | Awake |
Unity Component Method
|
![]() | EnableSnappingGuide |
Used to Enable snapping guide on a per snap target basis
|
![]() | ForceDisableSnappingGuide |
Used to disable snapping guide on a per snap target basis
|
![]() | GetMaskedAngle(Transform, SnappingRotationAxis) |
Gets the angle using the provided axis
|
![]() ![]() | GetMaskedAngle(Transform, Quaternion, SnappingRotationAxis, SnappingRotationAxis) |
Gets the angle using the provided axis
|
![]() | HideSnappingGuide |
Hides the alternative Snapping Guide.
|
![]() | IsOccupiedBy |
Check if this target is occupied by the specified transform
|
![]() | IsValidTarget |
Returns true if the target is valid, otherwise false.
This also checks that the GameObject is active in the hierarchy and that the component is enabled.
|
![]() | Occupy |
Marks this target as occupied by this transform
|
![]() | OverrideTransformSyncTolerances |
Override the default tolerances
|
![]() | SetAlternativeSnappingGuide |
Sets an alternative Snapping Guide to display when previewing this snap target
|
![]() | ShowSnappingGuide |
Shows the alternative Snapping Guide.
|
![]() | Start |
Unity Component Method
|
![]() | UseTransformSyncTolerances |
Name | Description | |
---|---|---|
![]() | GetCopyOf |
Copies all properties of a component from source to target. Uses reflection to set properties.
(Defined by ComponentExtensions.) |
![]() | WaitForT |
Waits for a singleton on a coroutine
(Defined by SingletonManager.) |