void UpdateRotByCellDir() { Vector3 dirVec = CellObjCtrlUtils.GetDirVector3(_cctrl); Quaternion rot = Quaternion.FromToRotation(Vector3.right, dirVec); transform.rotation = rot; }
void UpdateRotByCellDir() { Vector3 dirVec = CellObjCtrlUtils.GetDirVector3(_cctrl); Quaternion rot = Quaternion.FromToRotation(Vector3.right, dirVec); transform.rotation = rot; }