Horje
How To Get The Global Position of a GameObject in a Variable Code Example
How To Get The Global Position of a GameObject in a Variable
// for unity users only!

// use transform instead of GetComponent<Transform>

void Start()
{
  Vector3 LocalPosition = gameObject.GetComponent<Transform>().position;
  Vector3 GloabalPosition = gameObject.transform.position;
}




Csharp

Related
filedialog get folder path c# Code Example filedialog get folder path c# Code Example
unity 2d looka tt mouse Code Example unity 2d looka tt mouse Code Example
c# thread wait Code Example c# thread wait Code Example
stock span problem c# Code Example stock span problem c# Code Example
How do I remove all non alphanumeric characters from a string? Code Example How do I remove all non alphanumeric characters from a string? Code Example

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