/// <summary>
        /// Draws the entity settings.
        /// </summary>
        /// <param name="_entity">Entity.</param>
        public static void DrawEntitySettings(ICECreatureEntity _entity)
        {
            if (_entity == null)
            {
                return;
            }

            if (_entity.EntityType == ICE.World.EnumTypes.EntityClassType.Creature && Application.isPlaying)
            {
                EditorGUILayout.HelpBox(Info.DISPLAY_OPTIONS_RUNTIME_INFO, MessageType.Info);
            }

            EditorGUILayout.Separator();

            if (ICECreatureRegister.Instance == null)
            {
                GUI.backgroundColor = Color.yellow;
                if (ICEEditorLayout.ButtonExtraLarge("ADD CREATURE REGISTER", Info.REGISTER_MISSING))
                {
                    ICECreatureRegister.Create();
                }

                GUI.backgroundColor = ICEEditorLayout.DefaultBackgroundColor;
            }
            else if (!ICECreatureRegister.Instance.isActiveAndEnabled)
            {
                GUI.backgroundColor = Color.yellow;
                if (ICEEditorLayout.ButtonExtraLarge("ACTIVATE CREATURE REGISTER", Info.REGISTER_DISABLED))
                {
                    ICECreatureRegister.Instance.gameObject.SetActive(true);
                }
                GUI.backgroundColor = ICEEditorLayout.DefaultBackgroundColor;
            }
            else
            {
                Popups.QuickSelectionPopup("Quick Selection", _entity);
            }

            ICEEditorLayout.BeginHorizontal();

            ICEEditorLayout.PrefixLabel("Debug Options");

            GUILayout.FlexibleSpace();

            _entity.UseDebugLogs = ICEEditorLayout.DebugButtonSmall("LOG", "Print debug information for this GameObject", _entity.UseDebugLogs);
            EditorGUI.BeginDisabledGroup(_entity.UseDebugLogs == false);
            if (_entity.UseDebugLogs)
            {
                _entity.UseDebugLogsSelectedOnly = ICEEditorLayout.DebugButtonMini("S", "Shows debug information for selected GameObjects only.", _entity.UseDebugLogsSelectedOnly);
            }
            else
            {
                ICEEditorLayout.DebugButtonMini("S", "Shows debug information for selected GameObjects only.", false);
            }
            EditorGUI.EndDisabledGroup();
            GUILayout.Space(3);

            _entity.UseDebugRays = ICEEditorLayout.DebugButtonSmall("RAY", "Shows debug rays for this GameObject", _entity.UseDebugRays);
            EditorGUI.BeginDisabledGroup(_entity.UseDebugRays == false);
            if (_entity.UseDebugRays)
            {
                _entity.UseDebugRaysSelectedOnly = ICEEditorLayout.DebugButtonMini("S", "Shows debug rays for selected GameObjects only.", _entity.UseDebugRaysSelectedOnly);
            }
            else
            {
                ICEEditorLayout.DebugButtonMini("S", "Shows debug rays for selected GameObjects only.", false);
            }
            EditorGUI.EndDisabledGroup();
            GUILayout.Space(3);

            _entity.UseDebug = ICEEditorLayout.DebugButton("DEBUG", "Enables enhanced debug options", _entity.UseDebug);
            GUILayout.Space(3);

            EditorGUI.BeginDisabledGroup(_entity as ICECreatureControl == null);
            _entity.ShowInfo = ICEEditorLayout.DebugButton("INFO", "Displays runtime information.", _entity.ShowInfo);
            EditorGUI.EndDisabledGroup();

            _entity.ShowHelp  = ICEEditorLayout.DebugButton("HELP", "Displays all help informations", _entity.ShowHelp);
            _entity.ShowNotes = ICEEditorLayout.DebugButton("NOTES", "Displays all note fields", _entity.ShowNotes);
            ICEEditorLayout.EndHorizontal(Info.ENTITY_DEBUG_OPTIONS);
        }