GuiEventDelegate
@objc
public protocol GuiEventDelegate
Gui에서 발생하는 이벤트에 대한 delegate.
-
Component 탭 이벤트
Declaration
Swift
@objc optional func guiDidTapped(_ gui: GuiBase, componentName: String)Parameters
gui탭된 Gui
componentName탭된 GuiComponent의 이름
-
Animation 재생상태 변경시 발생
Declaration
Swift
@objc optional func guiAnimationStateDidChanged(_ gui: GuiBase, componentName: String, state: AnimationState)Parameters
gui재생상태가 변경된 Gui
componentNameComponent의 이름
stateanimation state
GuiEventDelegate Protocol Reference