public void Bind(IAtomPlugin plugin) { _animationsJSON = InitAnimationSelectorUI(plugin.manager.configurableScrollablePopupPrefab); _scrubber = InitScrubber(); InitFrameNav(plugin.manager.configurableButtonPrefab); InitPlaybackButtons(plugin.manager.configurableButtonPrefab); _dopeSheet = InitDopeSheet(); }
public void Bind(IAtomPlugin plugin) { _prefabFactory = gameObject.AddComponent <VamPrefabFactory>(); _prefabFactory.plugin = plugin; _animationsJSON = InitAnimationSelectorUI(); _scrubber = InitScrubber(); InitFrameNav(plugin.manager.configurableButtonPrefab); InitPlaybackButtons(plugin.manager.configurableButtonPrefab); _dopeSheet = InitDopeSheet(); }
public void Bind(IAtomPlugin plugin) { _scrubber = InitScrubber(plugin.scrubberJSON, plugin.snapJSON); InitSpacer(); // TODO: Make the JSON use animation features instead of the other way around InitFrameNav(plugin.manager.configurableButtonPrefab, plugin.previousFrameJSON, plugin.nextFrameJSON); InitSpacer(); InitPlaybackButtons(plugin.manager.configurableButtonPrefab, plugin.playJSON, plugin.stopJSON); InitSpacer(); _dopeSheet = InitDopeSheet(); InitSpacer(); }