Example #1
0
 private void SetObjectInDisplay()
 {
     Display.ClearRenderQueue();
     if (prefab.arraySize != 0)
     {
         for (int i = 0; i < prefab.arraySize; i++)
         {
             Display.AddGameObject(prefab.GetArrayElementAtIndex(i).objectReferenceValue as GameObject, new Vector3(i, 0, 0), Quaternion.identity);
         }
     }
 }
 private void SetObjectInDisplay()
 {
     Display.ClearRenderQueue();
     Display.AddGameObject(gameObject, Vector3.zero, rotationEuler);
 }
 private void SetObjectInDisplay()
 {
     Display.ClearRenderQueue();
     Display.AddGameObject(prefab.objectReferenceValue as GameObject, Vector3.zero, rotation.vector3Value);
 }