A 2D Farming RPG
This is just a simple 2D farming RPG game
Loading...
Searching...
No Matches
Vector3Serializable.cs
Go to the documentation of this file.
1
7
[System.Serializable]
8
public
class
Vector3Serializable
9
{
10
public
float
m_X
;
11
public
float
m_Y
;
12
public
float
m_Z
;
13
20
public
Vector3Serializable
(
float
x,
float
y,
float
z )
21
{
22
this.m_X = x;
23
this.m_Y = y;
24
this.m_Z = z;
25
}
26
27
public
Vector3Serializable
()
28
{
29
}
30
}
Vector3Serializable
Unity Vector3 data type is NOT serializable. Therefore, it can't be searilize and saved to a datafile...
Definition:
Vector3Serializable.cs:9
Vector3Serializable.m_X
float m_X
Definition:
Vector3Serializable.cs:10
Vector3Serializable.Vector3Serializable
Vector3Serializable()
Definition:
Vector3Serializable.cs:27
Vector3Serializable.Vector3Serializable
Vector3Serializable(float x, float y, float z)
Constructor to pass in position data
Definition:
Vector3Serializable.cs:20
Vector3Serializable.m_Y
float m_Y
Definition:
Vector3Serializable.cs:11
Vector3Serializable.m_Z
float m_Z
Definition:
Vector3Serializable.cs:12
Assets
Scripts
Misc
Vector3Serializable.cs
Generated on Thu Jun 1 2023 20:52:47 for A 2D Farming RPG by
1.9.5