MiTschMR Studios
Defnite
Search…
MiTschMR Studios
Games
Defnite
Skills
Skills
Skills Overview
Skills Window
Skills Component
Actions/Conditions/Triggers
Skill Tree
Skill Bar
FAQ
Example Setup
API Documentation
ButtonActionsSkills
DatabaseSkills
Skill
SkillAsset
SkillBarElement
SkillBarElements
SkillBarSkillTreeElement
SkillBarSkillTreeElements
SkillContextMenuUI
SkillHolder
SkillHolderSerialized
SkillRelyOn
SkillTreeItemsUI
SkillTreeItemsUIAutomatical
SkillTreeItemsUIManual
SkillTreeUIManager
SkillTreeUIManagerAutomatical
SkillTreeUIManagerManual
SkillType
SkillUI
SkillUIAutomatical
SkillUIManual
Skills
Classes
Fields
Methods
Properties
SkillsSingleSkillTypeAttribute
Finder for Game Creator
Finder for Game Creator
Finder for Game Creator 2
Finder for Game Creator 2
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
Skills
Contains the logic of handling all skill related actions like unlocking, executing.
Implementation
1
public
class
Skills
:
GlobalID
,
IGameSave
Copied!
Inheritance
​
MonoBehaviour
--> GlobalID -->
Skills
​
IGameSave -->
Skills
​
Classes
Name
Description
​
SerialSkill
​
Contains the values for a saved skill
​
SerialData
​
Contains an array of saved skills
​
EventArgs
​
Contains the arguments for generating an OnChangeSkill event
​
EventSkillActivation
​
Event class that is fired when activating a skill
​
EventSkillsReset
​
Event class that is fired when resetting all skills
Fields
Name
Description
SKILLS
​
SKILLSSETTINGS
​
skillsList
​
MSG_ERROR_LEVELNOTASSIGNED
​
MSG_ERROR_SKILLPOINTSNOTASSIGNED
​
MSG_ERROR_STATSCOMPONENTNOTASSIGNED
​
useSkillBar
​
skillBarElements
​
saveSkills
​
skillBarConfigurationModeOn
​
skillTreeWindowOpen
​
skillTreeUIManager
​
onChangeSkill
​
eventOnActivateStart
​
eventOnActivateEnd
​
eventOnCastStart
​
eventOnCastEnd
​
eventOnExecuteStart
​
eventOnExecuteEnd
​
Methods
Name
Description
Awake()
​
Start()
​
OnDestroy()
​
GetSkillsDictionary()
​
GetSkillPoints()
​
GetLevel()
​
GetSkill(int)
​
GetSkills()
​
GetSkillID(int)
​
GetSkillState(int)
​
GetSkillLockedState(int, Skill.SkillState)
​
GetSkillExecutionState(SkillAsset)
​
LockSkill(SkillAsset, [bool])
​
UnlockSkill(SkillAsset, [bool])
​
UpdateSkillState(int, SkillSkillState)
​
CheckSkillRequirements(SkillAsset)
​
CheckSkillLevel(SkillAsset)
​
CheckSkillReliesOnSkills(SkillAsset)
​
CheckSkillOtherConditions(SkillAsset)
​
Properties
Name
Description
​
IsActivatingSkill
​
Boolean value indicating if a skill is being activated
​
IsCastingSkill
​
Boolean value indicating if a skill is being casted
​
IsExecutingSkill
​
Boolean value indicating if a non-permanent skill is being executed
​
IsFinishingSkill
​
Boolean value indicating if a skill is being finished
Previous
UpdateUI
Next
Classes
Last modified
1yr ago
Copy link
Contents
Implementation
Inheritance
Classes
Fields
Methods
Properties