public void PlaceObject() { if (objectToPlace != null) { GameObject temp = Instantiate(objectToPlace, indicator.transform.position, indicator.transform.rotation); temp.transform.localScale = indicator.transform.lossyScale; save.AddObject(temp); //StartCoroutine("FreezeRotationOnPlacement", temp); } }