public void SetRotIndex(int iIndex) { m_iIndexPos = iIndex; if (OnBlockRot != null) { OnBlockRot.Invoke(); } }
public void Rot() { m_iIndexPos++; if (m_iIndexPos >= GetRotData().Count) { m_iIndexPos = 0; } if (OnBlockRot != null) { OnBlockRot.Invoke(); } }