how to check wether an object has stopped moving unity
void Update()
{
// "transform.hasChanged" is an official unity bool that checks whether all the tranform values have stopped (Position,Rotation,Scale)
if (transform.hasChanged)
{
Debug.Log("The transform has changed!");
transform.hasChanged = false;
}
}