297 lines
4.9 KiB
C#
297 lines
4.9 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 void OnLateUpdate()
|
|
{
|
|
|
|
}
|
|
public abstract string Name { get; }
|
|
public abstract string Version { get; }
|
|
public void OnApplicationStart()
|
|
{
|
|
|
|
}
|
|
|
|
public void OnApplicationQuit()
|
|
{
|
|
|
|
}
|
|
|
|
public void OnUpdate()
|
|
{
|
|
|
|
}
|
|
|
|
public void OnFixedUpdate()
|
|
{
|
|
|
|
}
|
|
|
|
public void OnAnimatorIK(int layerIndex)
|
|
{
|
|
|
|
}
|
|
|
|
public void OnAnimatorMove()
|
|
{
|
|
|
|
}
|
|
|
|
public void OnApplicationFocus(bool hasFocus)
|
|
{
|
|
|
|
}
|
|
|
|
public void OnApplicationPause(bool pauseStatus)
|
|
{
|
|
|
|
}
|
|
|
|
public void OnAudioFilterRead(float[] data, int channels)
|
|
{
|
|
|
|
}
|
|
|
|
public void OnBecameInvisible()
|
|
{
|
|
|
|
}
|
|
|
|
public void OnBecameVisible()
|
|
{
|
|
|
|
}
|
|
|
|
public void OnBeforeTransformParentChanged()
|
|
{
|
|
|
|
}
|
|
|
|
public void OnCanvasGroupChanged()
|
|
{
|
|
|
|
}
|
|
|
|
public void OnCanvasHierarchyChanged()
|
|
{
|
|
|
|
}
|
|
|
|
public void OnCollisionEnter(Collision other)
|
|
{
|
|
|
|
}
|
|
|
|
public void OnCollisionEnter2D(Collision2D other)
|
|
{
|
|
|
|
}
|
|
|
|
public void OnCollisionExit(Collision other)
|
|
{
|
|
|
|
}
|
|
|
|
public void OnCollisionExit2D(Collision2D other)
|
|
{
|
|
|
|
}
|
|
|
|
public void OnCollisionStay(Collision other)
|
|
{
|
|
|
|
}
|
|
|
|
public void OnCollisionStay2D(Collision2D other)
|
|
{
|
|
|
|
}
|
|
|
|
public void OnConnectedToServer()
|
|
{
|
|
|
|
}
|
|
|
|
public void OnControllerColliderHit(ControllerColliderHit hit)
|
|
{
|
|
|
|
}
|
|
|
|
public void OnDidApplyAnimationProperties()
|
|
{
|
|
|
|
}
|
|
|
|
public void OnDisable()
|
|
{
|
|
|
|
}
|
|
|
|
public void OnDrawGizmos()
|
|
{
|
|
|
|
}
|
|
|
|
public void OnDrawGizmosSelected()
|
|
{
|
|
|
|
}
|
|
|
|
public void OnEnable()
|
|
{
|
|
|
|
}
|
|
|
|
public void OnGUI()
|
|
{
|
|
|
|
}
|
|
|
|
public void OnJointBreak(float breakForce)
|
|
{
|
|
|
|
}
|
|
|
|
public void OnMouseDown()
|
|
{
|
|
|
|
}
|
|
|
|
public void OnMouseDrag()
|
|
{
|
|
|
|
}
|
|
|
|
public void OnMouseEnter()
|
|
{
|
|
|
|
}
|
|
|
|
public void OnMouseExit()
|
|
{
|
|
|
|
}
|
|
|
|
public void OnMouseOver()
|
|
{
|
|
|
|
}
|
|
|
|
public void OnMouseUp()
|
|
{
|
|
|
|
}
|
|
|
|
public void OnMouseUpAsButton()
|
|
{
|
|
|
|
}
|
|
|
|
public void OnParticleCollision(GameObject other)
|
|
{
|
|
|
|
}
|
|
|
|
public void OnPostRender()
|
|
{
|
|
|
|
}
|
|
|
|
public void OnPreCull()
|
|
{
|
|
|
|
}
|
|
|
|
public void OnPreRender()
|
|
{
|
|
|
|
}
|
|
|
|
public void OnRectTransformDimensionsChange()
|
|
{
|
|
|
|
}
|
|
|
|
public void OnRenderImage(RenderTexture src, RenderTexture dest)
|
|
{
|
|
|
|
}
|
|
|
|
public void OnRenderObject()
|
|
{
|
|
|
|
}
|
|
|
|
public void OnServerInitialized()
|
|
{
|
|
|
|
}
|
|
|
|
public void OnTransformChildrenChanged()
|
|
{
|
|
|
|
}
|
|
|
|
public void OnTransformParentChanged()
|
|
{
|
|
|
|
}
|
|
|
|
public void OnTriggerEnter(Collider other)
|
|
{
|
|
|
|
}
|
|
|
|
public void OnTriggerEnter2D(Collider2D other)
|
|
{
|
|
|
|
}
|
|
|
|
public void OnTriggerExit(Collider other)
|
|
{
|
|
|
|
}
|
|
|
|
public void OnTriggerExit2D(Collider2D other)
|
|
{
|
|
|
|
}
|
|
|
|
public void OnTriggerStay(Collider other)
|
|
{
|
|
|
|
}
|
|
|
|
public void OnTriggerStay2D(Collider2D other)
|
|
{
|
|
|
|
}
|
|
|
|
public void OnValidate()
|
|
{
|
|
|
|
}
|
|
|
|
public void OnWillRenderObject()
|
|
{
|
|
|
|
}
|
|
|
|
public void Reset()
|
|
{
|
|
|
|
}
|
|
}
|
|
}
|