25 lines
516 B (Stored with Git LFS)
C#
25 lines
516 B (Stored with Git LFS)
C#
// Copyright (c) Pixel Crushers. All rights reserved.
|
|
|
|
using UnityEngine;
|
|
using UnityEngine.Events;
|
|
using System;
|
|
|
|
namespace PixelCrushers
|
|
{
|
|
|
|
// This file defines common UnityEvent types.
|
|
|
|
[Serializable]
|
|
public class IntUnityEvent : UnityEvent<int> { }
|
|
|
|
[Serializable]
|
|
public class StringUnityEvent : UnityEvent<string> { }
|
|
|
|
[Serializable]
|
|
public class ObjectUnityEvent : UnityEvent<object> { }
|
|
|
|
[Serializable]
|
|
public class GameObjectUnityEvent : UnityEvent<GameObject> { }
|
|
|
|
}
|