Exemplo n.º 1
0
 void Start()
 {
     // Util.newScale(objToPlace1, new Vector3(10.0f, 10.0f, 10.0f));
     worldMechanics = WorldMechanics.Instance;
     foreach (Transform child in mechanicsObjectsParent.transform)
     {
         mechanicObjects.Add(child.gameObject);
     }
 }
Exemplo n.º 2
0
 private void Awake()
 {
     if (Instance == null)
     {
         Instance = this;
     }
     else
     {
         Destroy(gameObject);
     }
 }
Exemplo n.º 3
0
 void Start()
 {
     this.worldMechanics  = WorldMechanics.Instance;
     this.currentRotation = 0.0f;
 }