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); } }
private void Awake() { if (Instance == null) { Instance = this; } else { Destroy(gameObject); } }
void Start() { this.worldMechanics = WorldMechanics.Instance; this.currentRotation = 0.0f; }