// Copyright (c) 2012-2021 Wojciech Figat. All rights reserved. namespace FlaxEngine { /// /// Base class for all plugins used at runtime in game. /// /// /// Plugins should have a public and parameter-less constructor. /// /// public abstract class GamePlugin : Plugin { #if FLAX_EDITOR /// /// Event called during game cooking in Editor to collect any assets that this plugin uses. Can be used to inject content for plugins. /// /// The result assets list (always valid). public virtual void OnCollectAssets(System.Collections.Generic.List assets) { } #endif } }