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