public void StartCanvasMode() { CurrentCube = null; frame.ClearLine(); ModeCondition = Mode.Canvas; cam.ViewSwitch = !cam.ViewSwitch; bandGenerator.started = false; HammerHit ham = smallHam.GetComponent <HammerHit>(); smallHam.transform.localPosition = ham.pos; smallHam.transform.localRotation = ham.rot; smallHam.SetActive(false); }