public static int GetActorIconIndex(Sprite obj) { return System.Array.IndexOf(m_AllActorIcons, obj); }