DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR CSHARP
how to compare distance between 2 objects unity
float
distance
=
Vector3
.
Distance
(
object1
.
transform
.
position
,
object2
.
transform
.
position
)
;
PREVIOUS
NEXT
Tagged:
#compare
#distance
#objects
#unity
ADD COMMENT
Topic
COMMENT
Name
5+8 =
Submit