public void AutoDetectInteractors() { foreach (ReferenceGroupObject _group in CreatureRegister.ReferenceGroupObjects) { if (_group != null && _group.Enabled && ( _group.EntityType == EntityClassType.Creature || _group.EntityType == EntityClassType.Player)) { Interaction.AddInteractor(_group.ReferenceGameObject, Status); } } }