Exemplo n.º 1
0
        public Developer(string name)
        {
            position     = new float3_S(Vector3.zero);
            rotation     = new float4_S(Quaternion.identity);
            displayColor = new float4_S(Color.black);

            displayName = new char[maxNameSize];
            displayName = name.ToCharArray(0, Mathf.Min(name.Length, maxNameSize));

            arrIdx = -1;
        }
Exemplo n.º 2
0
 public void SetRotation(Quaternion rot)
 {
     rotation = new float4_S(rot);
 }
Exemplo n.º 3
0
 public void SetDisplayColor(Color col)
 {
     displayColor = new float4_S(col);
 }