MiTschMR Studios
  • MiTschMR Studios
  • Games
    • Defnite
  • Skills
    • Skills
      • Skills Overview
      • Skills Window
        • Skills
        • Types
        • Settings
      • Skills Component
      • Actions/Conditions/Triggers
      • Skill Tree
      • Skill Bar
      • FAQ
      • Example Setup
      • API Documentation
        • ButtonActionsSkills
          • Classes
            • ButtonActionsEvent
          • Fields
            • actions
            • onClickRight
            • onClick
          • Methods
            • Awake
            • OnValidate
            • OnPointerClick
            • OnSubmit
            • OnFinishSubmit
            • Press
            • PressRight
        • DatabaseSkills
          • Classes
            • SkillsList
              • Fields
                • skills
                • skillTypes
            • SkillSettings
              • Fields
                • skillTreeSelection
                • skillTreeUIPrefabAutomatic
                • skillTreeUIPrefabManual
                • pauseTimeOnUI
                • levelSelection
                • levelVariable
                • levelStat
                • skillPointsSelection
                • skillPointsVariable
                • skillPointsStat
              • Methods
                • GetPauseTimeOnUI
                • GetSkillTreeSelection
                • GetSkillTreeUIPrefabAutomatic
                • GetSkillTreeUIPrefabManual
                • GetLevelSelection
                • GetLevelVariable
                • GetLevelStat
                • GetSkillPointsSelection
                • GetSkillPointsVariable
                • GetSkillPointsStat
              • Enums
                • SkillTreeSelection
                • StatSelection
          • Fields
            • skillList
            • skillsSettings
          • Methods
            • GetSkillList
            • GetSkillListSkillByIndex
            • GetSkillTypes
            • GetSkillTypesTypeByIndex
            • GetSkillSettings
            • GetSkillSuggestions
            • GetSkillTypesNames
            • GetSkillTypesIDs
            • Load
            • InitializeOnLoad
            • GetProjectPath
        • Skill
          • Fields
            • uuid
            • skillName
            • skillDescription
            • icon
            • skillType
            • skillExecutionType
            • castTime
            • executionTime
            • cooldownTime
            • skillState
            • useSkillPoints
            • skillPointsNeeded
            • requiresLevel
            • level
            • reliesOnSkills
            • assignableToSkillBar
            • conditionsExecutionRequirements
            • actionsOnActivate
            • actionsOnCast
            • actionsOnExecute
            • actionsOnFinish
            • conditionsRequirements
            • actionsOnReset
          • Methods
            • CopySkill
            • CopySkillToSkillRelyOn
            • CreateSkillRelyOnInstance
            • UpdateSkillRelyOnInstance
            • DeleteSkillRelyOnInstance
            • CreateSkillInstance
            • OnDestroy
            • DestroyAsset
          • Enums
            • SkillState
            • SkillExecutionType
        • SkillAsset
          • Fields
            • uuid
            • isExecuting
            • isInCooldown
            • cooldownTimeLeft
            • addedToSkillBar
            • addedToSkillBarIndex
            • skillName
            • skillDescription
            • icon
            • skillType
            • skillExecutionType
            • castTime
            • executionTime
            • cooldownTime
            • skillState
            • useSkillPoints
            • skillPointsNeeded
            • requiresLevel
            • level
            • reliesOnSkills
            • assignableToSkillBar
            • conditionsExecutionRequirements
            • actionsOnActivate
            • actionsOnCast
            • actionsOnExecute
            • actionsOnFinish
            • conditionsRequirements
            • actionsOnReset
            • actionsOnResetExecuted
            • onChange
        • SkillBarElement
          • Fields
            • target
            • keyCode
            • skillIcon
            • skillNotAssigned
            • skillCooldownIcon
            • showSkillExecutingIcon
            • skillExecutingIcon
            • showKeyCodeText
            • keyCodeText
            • showExecutingTimeCounter
            • executingTimeCounter
            • showCooldownCounter
            • cooldownCounter
            • showAmountCounter
            • amountCounter
            • skill
            • executer
          • Methods
            • Start
            • Update
            • SetupEvents
            • ExecuteSkill
            • SyncSkill
            • StartSkillExecutionGUI
            • UpdateUI
            • CancelSkillBarSkillExecution
        • SkillBarElements
          • Fields
            • skillBarElements
          • Methods
            • Start
        • SkillBarSkillTreeElement
          • Fields
            • DATABASE_SKILLS
            • keyCode
            • acceptSkillTypes
            • skillIcon
            • skillNotAssigned
            • iconSkillBarConfigurationModeOn
            • iconSkillBarConfigurationModeOff
            • keyCodeText
            • showKeyCodeText
            • allowReplacement
            • allowQuickRemoval
            • skillInConfigurationMode
            • eventOnHoverEnter
            • eventOnHoverExit
            • skill
            • executer
            • skillBarConfigurationModeOn
            • skillTreeUIManager
            • skillBarSkillTreeElementIndex
          • Methods
            • Start
            • Update
            • SetupEvents
            • BindSkill
            • UnbindSkill
            • EnterSkillBarConfigurationMode
            • LeaveSkillBarConfigurationMode
            • RemoveSkillFromSkillBar
            • GetSkill
            • UpdateUI
            • OnPointerEnter
            • OnPointerExit
            • OnDragBegin
            • OnDragEnd
            • OnDragMove
        • SkillBarSkillTreeElements
          • Fields
            • skillBarElements
          • Methods
            • Start
        • SkillContextMenuUI
          • Fields
            • buttonUnlock
            • buttonAddToSkillBar
            • buttonRemoveFromSkillBar
        • SkillHolder
          • Fields
            • skill
          • Methods
            • ToString
        • SkillHolderSerialized
          • Fields
            • skill
          • Methods
            • ToString
        • SkillRelyOn
          • Fields
            • uuid
            • skillName
            • skillDescription
            • icon
            • skillType
            • skillExecutionType
            • castTime
            • executionTime
            • cooldownTime
            • skillState
            • useSkillPoints
            • skillPointsNeeded
            • requiresLevel
            • level
            • assignableToSkillBar
        • SkillTreeItemsUI
          • Fields
            • skills
          • Methods
            • Start
            • UpdateSkills
        • SkillTreeItemsUIAutomatical
          • Fields
            • skillsContainer
            • prefabSkill
            • prefabSkillConnectorEnabled
            • prefabSkillConnectorDisabled
            • distanceBetweenSkillsInLine
            • prefabSkillHolder
            • skillUIHolder
          • Methods
            • UpdateSkills
        • SkillTreeItemsUIManual
        • SkillTreeUIManager
          • Fields
            • TIME_LAYER
            • DATABASE_SKILLS
            • skillTreeAnimator
            • skillTreeRoot
            • isOpen
            • canvasScaler
            • floatingSkillRt
            • skillTreeOpener
            • skillBarElements
            • skillPointsLeft
            • skillsContent
            • floatingSkill
            • skillContextMenu
          • Methods
            • Awake
            • Open
            • Close
            • EnterSkillBarConfigurationMode
            • LeaveSkillBarConfigurationMode
            • SkillRemoveFromSkillBar
            • SetSkillTreeOpenerReferences
            • ResetAllSkills
            • ResetSkill
            • UpdateSkillPoints
            • HideSkillContextMenu
            • UpdateSkillBar
            • OnDragSkill
            • IsOpen
            • ChangeState
            • ResetSkillBar
            • ResetSkillBar
            • GetPointerPositionUnscaled
        • SkillTreeUIManagerAutomatical
          • Fields
            • DEFAULT_UI_PATH
            • skillDistanceFromTop
            • distanceBetweenSkillTypes
            • skillTypeSize
            • skillTypePrefab
            • skillTypes
          • Methods
            • Open
            • OpenSkillTree
            • CloseSkillTree
            • IsSkillTreeOpen
            • RequireInstance
        • SkillTreeUIManagerManual
          • Fields
            • DEFAULT_UI_PATH
          • Methods
            • Open
            • OpenSkillTree
            • CloseSkillTree
            • IsSkillTreeOpen
            • RequireInstance
        • SkillType
          • Fields
            • MAX
            • id
            • name
        • SkillUI
          • Fields
            • DATABASE_SKILLS
            • button
            • skillTreeUIManager
            • skillTreeOpener
            • skillConnectorEnabled
            • skillConnectorDisabled
            • skillIconEnabled
            • skillIconDisabled
            • tooltipIcon
            • tooltipName
            • tooltipDescription
            • tooltipLevelRequiredValue
            • tooltipSkillPointsRequiredValue
            • tooltipSkillStateValue
            • tooltipSkillStateValueColorLocked
            • tooltipSkillStateValueColorUnlocked
            • imageLocked
            • imageUnlocked
            • skillTransform
            • prefabContextMenu
            • skillContextMenu
            • eventOnHoverEnter
            • eventOnHoverExit
          • Methods
            • OnDragBegin
            • OnDragEnd
            • OnDragMove
          • Properties
            • SkillAsset
        • SkillUIAutomatical
          • Fields
            • nameOfSkillTreeUIPrefab
            • skillTreeUIPrefab
          • Methods
            • Setup
            • UpdateUI
        • SkillUIManual
          • Fields
            • skill
          • Methods
            • Setup
            • UpdateUI
        • Skills
          • Classes
            • SerialSkill
              • Fields
            • SerialData
              • Fields
                • skills
            • EventArgs
              • Fields
                • uuid
                • operation
              • Enums
                • Operation
            • EventSkillActivation
            • EventSkillsReset
          • Fields
          • Methods
            • Awake
            • Start
            • OnDestroy
            • GetSkillsDictionary
            • GetSkillPoints
            • GetLevel
            • GetSkill
            • GetSkills
            • GetSkillID
            • GetSkillState
            • GetSkillLockedState
            • GetSkillExecutionState
            • LockSkill
            • UnlockSkill
            • UpdateSkillState
            • CheckSkillRequirements
            • CheckSkillLevel
            • CheckSkillReliesOnSkills
            • CheckSkillOtherConditions
            • CheckSkillSkillPoints
            • ExecuteSkill
            • ExecuteSkillPermanent
            • ExecuteStartActivationPhase
            • ExecuteEndActivationPhase
            • ExecuteStartCastPhase
            • ExecuteEndCastPhase
            • ExecuteStartExecutionPhase
            • ExecuteEndExecutionPhase
            • ExecuteStartFinishPhase
            • ExecuteEndFinishPhase
            • StartCooldown
            • StopCooldown
            • CancelExecutingSkillBar
            • UpdateSkillBar
            • CancelExecutingSkill
            • CancelExecutingSkill
            • CancelExecutingSkills
            • ResetAllSkills
            • ResetSkill
            • ResetSkill
            • SyncSkillBarSkills
            • ChangeSkillType
            • ChangeSkillExecutionSettings
            • ResetPhaseProperties
            • FireResetSkillsEvent
            • AddOnChangeSkill
            • RemoveOnChangeSkill
            • UpdateSkillsList
            • RequireInit
          • Properties
            • IsActivatingSkill
            • IsCastingSkill
            • IsExecutingSkill
            • IsFinishingSkill
        • SkillsSingleSkillTypeAttribute
          • Fields
            • SKILLS
          • Methods
            • OnGUI
  • Finder for Game Creator
    • Finder for Game Creator
      • The Finder Window
        • Triggers
        • Conditions
        • Actions
        • Components
        • Scriptable Objects
      • Extension Installer
  • Finder for Game Creator 2
    • Finder for Game Creator 2
      • The Finder Window
        • Triggers
        • Conditions
        • Actions
        • Components
        • Scriptable Objects
        • Preferences
  • More Extensions
    • List Of My Extensions
  • GC API Guides
    • About
    • Configurable Enter Play Mode Compatibility
    • Access GC Script Components
    • Access Player Using HookPlayer
    • Inventory Custom Entries
    • Accessing Scriptable Objects
    • Custom Editor Windows - Part 1
    • Custom Editor Windows - Part 2
    • Inventory Context Menu Support
    • Inventory Item Tooltips
    • Converting To GC Variables
    • Working With GC Variables
  • C# Code Style Guide
    • C# Code Style Guide For Game Creator
Powered by GitBook
On this page
  • Implementation
  • Inheritance
  • Classes
  • Fields
  • Methods

Was this helpful?

  1. Skills
  2. Skills
  3. API Documentation

DatabaseSkills

PreviousPressRightNextClasses

Last updated 4 years ago

Was this helpful?

Scriptable Object used as a database to store all skills and settings.

Implementation

public class DatabaseSkills : IDatabase

Inheritance

--> IDatabase -->

Classes

Name

Description

Contains the definitions for the skills list and types

Contains the definitions for the settings

Fields

Name

Description

References the skill list of the SkillsList class

References the settings of the SkillSettings class

Methods

Name

Description

Returns all skills

Returns skill at index

Returns all skill types

Returns skill type at index

Returns the skill settings

Returns all skills that have a description or name similar to the input

Returns all skill type names

Returns all skill type IDs and name

Loads the skills database

Allow an editor class method to be initialized when Unity loads without action from the user

Returns the project path

ScriptableObject
DatabaseSkills
SkillsList
SkillSettings
skillList
skillsSettings
GetSkillList()
GetSkillListSkillByIndex(int)
GetSkillTypes()
GetSkillTypesTypeByIndex(int)
GetSkillSettings()
GetSkillSuggestions(string)
GetSkillTypesNames()
GetSkillTypesIDs()
Load()
InitializeOnLoad()
GetProjectPath()