Horje
How to get the world position of the edge of an object? Code Example
How to get the world position of the edge of an object?
Vector3 offset = transform.up * (transform.localScale.y / 2f) * -1f; 
Vector3 pos = transform.position + offset; //This is the position




Csharp

Related
c# get last item in list Code Example c# get last item in list Code Example
string formatting of spacing with c# Code Example string formatting of spacing with c# Code Example
casting string to enum type Code Example casting string to enum type Code Example
how to find a gameobject in unity Code Example how to find a gameobject in unity Code Example
difference between executescalar and executenonquery and executereader Code Example difference between executescalar and executenonquery and executereader Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
10