Horje
actual vector3 object unity Code Example
actual vector3 object unity
//A gameObject's Vector3 is its transform.position. So if you have a reference to it you can just use:
Vector3 lastPosition = gameObject.transform.position;


//Or if the save script is on the gameObject its self, you can just reference the transform directly:
Vector3 lastPosition = transform.position;

//More info in the Unity Docs.




Csharp

Related
unity script wait Code Example unity script wait Code Example
pyqt icon in tab Code Example pyqt icon in tab Code Example
changing color of material of renderer with multiple materias Code Example changing color of material of renderer with multiple materias Code Example
unity calculate angle between two vectors Code Example unity calculate angle between two vectors Code Example
C# console app how to run another program Code Example C# console app how to run another program Code Example

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