public static void UpdateObjWantDir(GameObject obj) { if (obj == null) { return; } LogicSystem.NotifyGfxChangedWantDir(obj, (float)(obj.transform.rotation.eulerAngles.y * Math.PI / 180.0f)); }