コード例 #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;
        }
コード例 #2
0
 public void SetRotation(Quaternion rot)
 {
     rotation = new float4_S(rot);
 }
コード例 #3
0
 public void SetDisplayColor(Color col)
 {
     displayColor = new float4_S(col);
 }