using System;
using System.Collections.Generic;
using System.Text;
using UnityEngine.SceneManagement;
namespace IllusionPlugin
{
///
/// Interface for generic Illusion unity plugins. Every class that implements this will be loaded if the DLL is placed at
/// data/Managed/Plugins.
///
public interface IPlugin
{
///
/// Gets the name of the plugin.
///
string Name { get; }
///
/// Gets the version of the plugin.
///
string Version { get; }
///
/// Gets invoked when the application is started.
///
void OnApplicationStart();
///
/// Gets invoked when the application is closed.
///
void OnApplicationQuit();
///
/// Gets invoked on every graphic update.
///
void OnUpdate();
///
/// Gets invoked on ever physics update.
///
void OnFixedUpdate();
[Obsolete("Use OnSceneLoaded instead")]
void OnLevelWasLoaded(int level);
[Obsolete("Use OnSceneLoaded instead")]
void OnLevelWasInitialized(int level);
}
}