Skip to content

UnityEvent

Aprius edited this page Aug 28, 2024 · 1 revision
  • The Pancake.Common namespace includes POCO classes that implement UnityEvent for basic Unity types like
    • bool (BoolUnityEvent)
    • Color (ColorUnityEvent)
    • float (FloatUnityEvent)
    • GameObject (GameObjectUnityEvent)
    • int (IntUnityEvent)
    • RaycastHit2D (RaycastHit2DUnityEvent)
    • RaycastHit (RaycastHitUnityEvent)
    • string (StringUnityEvent)
    • Transform (TransformUnityEvent)
    • Vector2Int (Vector2IntUnityEvent)
    • Vector2 (Vector2UnityEvent)
    • (Vector3, Transform) (Vector3TransformUnityEvent)
    • Vector3 (Vector3UnityEvent)
[SerializeField] private GameObjectUnityEvent detectedEvent;

image

Clone this wiki locally