297 lines
5.3 KiB
C#
297 lines
5.3 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
using UnityEngine;
|
|
|
|
namespace IllusionPlugin
|
|
{
|
|
public abstract class IEnhancedPlugin : IPlugin
|
|
{
|
|
/// <summary>
|
|
/// Gets a list of executables this plugin should be excuted on (without the file ending)
|
|
/// </summary>
|
|
/// <example>{ "PlayClub", "PlayClubStudio" }</example>
|
|
public string[] Filter { get; } = new[] {"Gamecraft", "GamecraftPreview"};
|
|
|
|
public virtual void OnLateUpdate()
|
|
{
|
|
|
|
}
|
|
public abstract string Name { get; }
|
|
public abstract string Version { get; }
|
|
public virtual void OnApplicationStart()
|
|
{
|
|
|
|
}
|
|
|
|
public virtual void OnApplicationQuit()
|
|
{
|
|
|
|
}
|
|
|
|
public virtual void OnUpdate()
|
|
{
|
|
|
|
}
|
|
|
|
public virtual void OnFixedUpdate()
|
|
{
|
|
|
|
}
|
|
|
|
public virtual void OnAnimatorIK(int layerIndex)
|
|
{
|
|
|
|
}
|
|
|
|
public virtual void OnAnimatorMove()
|
|
{
|
|
|
|
}
|
|
|
|
public virtual void OnApplicationFocus(bool hasFocus)
|
|
{
|
|
|
|
}
|
|
|
|
public virtual void OnApplicationPause(bool pauseStatus)
|
|
{
|
|
|
|
}
|
|
|
|
public virtual void OnAudioFilterRead(float[] data, int channels)
|
|
{
|
|
|
|
}
|
|
|
|
public virtual void OnBecameInvisible()
|
|
{
|
|
|
|
}
|
|
|
|
public virtual void OnBecameVisible()
|
|
{
|
|
|
|
}
|
|
|
|
public virtual void OnBeforeTransformParentChanged()
|
|
{
|
|
|
|
}
|
|
|
|
public virtual void OnCanvasGroupChanged()
|
|
{
|
|
|
|
}
|
|
|
|
public virtual void OnCanvasHierarchyChanged()
|
|
{
|
|
|
|
}
|
|
|
|
public virtual void OnCollisionEnter(Collision other)
|
|
{
|
|
|
|
}
|
|
|
|
public virtual void OnCollisionEnter2D(Collision2D other)
|
|
{
|
|
|
|
}
|
|
|
|
public virtual void OnCollisionExit(Collision other)
|
|
{
|
|
|
|
}
|
|
|
|
public virtual void OnCollisionExit2D(Collision2D other)
|
|
{
|
|
|
|
}
|
|
|
|
public virtual void OnCollisionStay(Collision other)
|
|
{
|
|
|
|
}
|
|
|
|
public virtual void OnCollisionStay2D(Collision2D other)
|
|
{
|
|
|
|
}
|
|
|
|
public virtual void OnConnectedToServer()
|
|
{
|
|
|
|
}
|
|
|
|
public virtual void OnControllerColliderHit(ControllerColliderHit hit)
|
|
{
|
|
|
|
}
|
|
|
|
public virtual void OnDidApplyAnimationProperties()
|
|
{
|
|
|
|
}
|
|
|
|
public virtual void OnDisable()
|
|
{
|
|
|
|
}
|
|
|
|
public virtual void OnDrawGizmos()
|
|
{
|
|
|
|
}
|
|
|
|
public virtual void OnDrawGizmosSelected()
|
|
{
|
|
|
|
}
|
|
|
|
public virtual void OnEnable()
|
|
{
|
|
|
|
}
|
|
|
|
public virtual void OnGUI()
|
|
{
|
|
|
|
}
|
|
|
|
public virtual void OnJointBreak(float breakForce)
|
|
{
|
|
|
|
}
|
|
|
|
public virtual void OnMouseDown()
|
|
{
|
|
|
|
}
|
|
|
|
public virtual void OnMouseDrag()
|
|
{
|
|
|
|
}
|
|
|
|
public virtual void OnMouseEnter()
|
|
{
|
|
|
|
}
|
|
|
|
public virtual void OnMouseExit()
|
|
{
|
|
|
|
}
|
|
|
|
public virtual void OnMouseOver()
|
|
{
|
|
|
|
}
|
|
|
|
public virtual void OnMouseUp()
|
|
{
|
|
|
|
}
|
|
|
|
public virtual void OnMouseUpAsButton()
|
|
{
|
|
|
|
}
|
|
|
|
public virtual void OnParticleCollision(GameObject other)
|
|
{
|
|
|
|
}
|
|
|
|
public virtual void OnPostRender()
|
|
{
|
|
|
|
}
|
|
|
|
public virtual void OnPreCull()
|
|
{
|
|
|
|
}
|
|
|
|
public virtual void OnPreRender()
|
|
{
|
|
|
|
}
|
|
|
|
public virtual void OnRectTransformDimensionsChange()
|
|
{
|
|
|
|
}
|
|
|
|
public virtual void OnRenderImage(RenderTexture src, RenderTexture dest)
|
|
{
|
|
|
|
}
|
|
|
|
public virtual void OnRenderObject()
|
|
{
|
|
|
|
}
|
|
|
|
public virtual void OnServerInitialized()
|
|
{
|
|
|
|
}
|
|
|
|
public virtual void OnTransformChildrenChanged()
|
|
{
|
|
|
|
}
|
|
|
|
public virtual void OnTransformParentChanged()
|
|
{
|
|
|
|
}
|
|
|
|
public virtual void OnTriggerEnter(Collider other)
|
|
{
|
|
|
|
}
|
|
|
|
public virtual void OnTriggerEnter2D(Collider2D other)
|
|
{
|
|
|
|
}
|
|
|
|
public virtual void OnTriggerExit(Collider other)
|
|
{
|
|
|
|
}
|
|
|
|
public virtual void OnTriggerExit2D(Collider2D other)
|
|
{
|
|
|
|
}
|
|
|
|
public virtual void OnTriggerStay(Collider other)
|
|
{
|
|
|
|
}
|
|
|
|
public virtual void OnTriggerStay2D(Collider2D other)
|
|
{
|
|
|
|
}
|
|
|
|
public virtual void OnValidate()
|
|
{
|
|
|
|
}
|
|
|
|
public virtual void OnWillRenderObject()
|
|
{
|
|
|
|
}
|
|
|
|
public virtual void Reset()
|
|
{
|
|
|
|
}
|
|
}
|
|
}
|