void Update() { if (transform.position != cachedPos || transform.rotation != cachedRot) m_modified = true; }