updated csncobject class
This commit is contained in:
parent
258f299fa0
commit
51132ceb5c
@ -35,19 +35,27 @@ public class CSNC : MonoBehaviour
|
|||||||
rotation = new List<float>();
|
rotation = new List<float>();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
private class CSNCObject
|
public class CSNCObject
|
||||||
{
|
{
|
||||||
|
public string id;
|
||||||
public string type;
|
public string type;
|
||||||
public EZtransform transform;
|
public EZtransform transform;
|
||||||
|
public CSNCObject()
|
||||||
public CSNCObject(string type, Transform trans)
|
|
||||||
{
|
{
|
||||||
|
id = "";
|
||||||
|
type = "";
|
||||||
|
transform = new EZtransform();
|
||||||
|
}
|
||||||
|
public CSNCObject(string type, Transform trans, string id)
|
||||||
|
{
|
||||||
|
this.id = id;
|
||||||
this.type = type;
|
this.type = type;
|
||||||
this.transform = new EZtransform(trans);
|
this.transform = new EZtransform(trans);
|
||||||
}
|
}
|
||||||
|
|
||||||
public CSNCObject(string type, EZtransform trans)
|
public CSNCObject(string type, EZtransform trans, string id)
|
||||||
{
|
{
|
||||||
|
this.id = id;
|
||||||
this.type = type;
|
this.type = type;
|
||||||
this.transform = trans;
|
this.transform = trans;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user