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
  • Requires
  • Classes
  • Fields
  • Methods

Was this helpful?

  1. Skills
  2. Skills
  3. API Documentation

ButtonActionsSkills

PreviousAPI DocumentationNextClasses

Last updated 4 years ago

Was this helpful?

Adds right click functionality to the GC Button.

Implementation

public class ButtonActionsSkills : Selectable, IPointerClickHandler, ISubmitHandler

Inheritance

.... --> -->

--> -->

--> -->

Requires

  • Component of type

  • Component of type

Classes

Name

Description

Generic Unity Event of type GameObject

Fields

Name

Description

Contains the actions for the onClick event

Unity event of type ButtonClickedEvent

Unity event of type ButtonActionsEvent

Methods

Name

Description

Awake is called when the script instance is being loaded

This function is called when the script is loaded or a value is changed in the Inspector (Called in the editor only)

Use this callback to detect clicks

This detects when a Button has been selected via a "submit" key you specify (default is the return key)

Called at the end of OnSubmit(BaseEventData)

Called when an event is fired

Called when an event is fired

Selectable
ButtonActionsSkills
IEventSystemHandler
IPointerClickHandler
ButtonActionsSkills
IEventSystemHandler
ISubmitHandler
ButtonActionsSkills
Image
Actions
ButtonActionsEvent
actions
onClickRight
onClick
Awake()
OnValidate()
OnPointerClick(PointerEventData)
OnSubmit(BaseEventData)
OnFinishSubmit()
Press()
onClick
PressRight()
onClickRight