|
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148 |
- using System;
- using System.Collections.Generic;
- using System.Text;
- using UnityEngine;
-
- namespace IllusionPlugin
- {
- /// <summary>
- /// Interface for generic Illusion unity plugins. Every class that implements this will be loaded if the DLL is placed at
- /// data/Managed/Plugins.
- /// </summary>
- public interface IPlugin
- {
-
- /// <summary>
- /// Gets the name of the plugin.
- /// </summary>
- string Name { get; }
-
- /// <summary>
- /// Gets the version of the plugin.
- /// </summary>
- string Version { get; }
-
- /// <summary>
- /// Gets invoked when the application is started.
- /// </summary>
- void OnApplicationStart();
-
- /// <summary>
- /// Gets invoked when the application is closed.
- /// </summary>
- void OnApplicationQuit();
-
- /// <summary>
- /// Gets invoked on every graphic update.
- /// </summary>
- void OnUpdate();
-
-
- /// <summary>
- /// Gets invoked on ever physics update.
- /// </summary>
- void OnFixedUpdate();
-
- void OnAnimatorIK(int layerIndex);
-
- void OnAnimatorMove();
-
- void OnApplicationFocus(bool hasFocus);
-
- void OnApplicationPause(bool pauseStatus);
-
- void OnAudioFilterRead(float[] data, int channels);
-
- void OnBecameInvisible();
-
- void OnBecameVisible();
-
- void OnBeforeTransformParentChanged();
-
- void OnCanvasGroupChanged();
-
- void OnCanvasHierarchyChanged();
-
- void OnCollisionEnter(Collision other);
-
- void OnCollisionEnter2D(Collision2D other);
-
- void OnCollisionExit(Collision other);
-
- void OnCollisionExit2D(Collision2D other);
-
- void OnCollisionStay(Collision other);
-
- void OnCollisionStay2D(Collision2D other);
-
- void OnConnectedToServer();
-
- void OnControllerColliderHit(ControllerColliderHit hit);
-
- void OnDidApplyAnimationProperties();
-
- void OnDisable();
-
- void OnDrawGizmos();
-
- void OnDrawGizmosSelected();
-
- void OnEnable();
-
- void OnGUI();
-
- void OnJointBreak(float breakForce);
-
- void OnMouseDown();
-
- void OnMouseDrag();
-
- void OnMouseEnter();
-
- void OnMouseExit();
-
- void OnMouseOver();
-
- void OnMouseUp();
-
- void OnMouseUpAsButton();
-
- void OnParticleCollision(GameObject other);
-
- void OnPostRender();
-
- void OnPreCull();
-
- void OnPreRender();
-
- void OnRectTransformDimensionsChange();
-
- void OnRenderImage(RenderTexture src, RenderTexture dest);
-
- void OnRenderObject();
-
- void OnServerInitialized();
-
- void OnTransformChildrenChanged();
-
- void OnTransformParentChanged();
-
- void OnTriggerEnter(Collider other);
-
- void OnTriggerEnter2D(Collider2D other);
-
- void OnTriggerExit(Collider other);
-
- void OnTriggerExit2D(Collider2D other);
-
- void OnTriggerStay(Collider other);
-
- void OnTriggerStay2D(Collider2D other);
-
- void OnValidate();
-
- void OnWillRenderObject();
-
- void Reset();
- }
- }
|