update
This commit is contained in:
@@ -0,0 +1,92 @@
|
||||
/// ---------------------------------------------
|
||||
/// Ultimate Character Controller
|
||||
/// Copyright (c) Opsive. All Rights Reserved.
|
||||
/// https://www.opsive.com
|
||||
/// ---------------------------------------------
|
||||
|
||||
namespace Opsive.UltimateCharacterController.Events
|
||||
{
|
||||
using Opsive.Shared.Inventory;
|
||||
using Opsive.UltimateCharacterController.Camera.ViewTypes;
|
||||
using Opsive.UltimateCharacterController.Character.Abilities;
|
||||
using Opsive.UltimateCharacterController.Character.Abilities.Items;
|
||||
using Opsive.UltimateCharacterController.Character.MovementTypes;
|
||||
using Opsive.UltimateCharacterController.Items;
|
||||
using UnityEngine;
|
||||
using UnityEngine.Events;
|
||||
|
||||
/// <summary>
|
||||
/// (float) UnityEvent subclass so the event will appear in the inspector.
|
||||
/// </summary>
|
||||
[System.Serializable] public class UnityFloatEvent : UnityEvent<float> { }
|
||||
|
||||
/// <summary>
|
||||
/// (bool) UnityEvent subclass so the event will appear in the inspector.
|
||||
/// </summary>
|
||||
[System.Serializable] public class UnityBoolEvent : UnityEvent<bool> { }
|
||||
|
||||
/// <summary>
|
||||
/// (Transform) UnityEvent subclass so the event will appear in the inspector.
|
||||
/// </summary>
|
||||
[System.Serializable] public class UnityTransformEvent : UnityEvent<Transform> { }
|
||||
|
||||
/// <summary>
|
||||
/// (MovementType, bool) UnityEvent subclass so the event will appear in the inspector.
|
||||
/// </summary>
|
||||
[System.Serializable]
|
||||
public class UnityMovementTypeBoolEvent : UnityEvent<MovementType, bool> { }
|
||||
|
||||
/// <summary>
|
||||
/// (Ability, bool) UnityEvent subclass so the event will appear in the inspector.
|
||||
/// </summary>
|
||||
[System.Serializable]
|
||||
public class UnityAbilityBoolEvent : UnityEvent<Ability, bool> { }
|
||||
|
||||
/// <summary>
|
||||
/// (ItemAbility, bool) UnityEvent subclass so the event will appear in the inspector.
|
||||
/// </summary>
|
||||
[System.Serializable]
|
||||
public class UnityItemAbilityBoolEvent : UnityEvent<ItemAbility, bool> { }
|
||||
|
||||
/// <summary>
|
||||
/// (Item) UnityEvent subclass so the event will appear in the inspector.
|
||||
/// </summary>
|
||||
[System.Serializable] public class UnityItemEvent : UnityEvent<Item> { }
|
||||
|
||||
/// <summary>
|
||||
/// (Item, int) UnityEvent subclass so the event will appear in the inspector.
|
||||
/// </summary>
|
||||
[System.Serializable] public class UnityItemIntEvent : UnityEvent<Item, int> { }
|
||||
|
||||
/// <summary>
|
||||
/// (IItemIdentifier, float) UnityEvent subclass so the event will appear in the inspector.
|
||||
/// </summary>
|
||||
[System.Serializable]
|
||||
public class UnityItemIdentifierFloatEvent : UnityEvent<IItemIdentifier, float> { }
|
||||
|
||||
/// <summary>
|
||||
/// (Item, float, bool, bool) UnityEvent subclass so the event will appear in the inspector.
|
||||
/// </summary>
|
||||
[System.Serializable] public class UnityItemFloatBoolBoolEvent : UnityEvent<Item, float, bool, bool> { }
|
||||
|
||||
/// <summary>
|
||||
/// (IItemIdentifier, float, bool, bool) UnityEvent subclass so the event will appear in the inspector.
|
||||
/// </summary>
|
||||
[System.Serializable] public class UnityItemIdentifierFloatBoolBoolEvent : UnityEvent<IItemIdentifier, float, bool, bool> { }
|
||||
|
||||
/// <summary>
|
||||
/// (Vector3, Vector3, GameObject) UnityEvent subclass so the event will appear in the inspector.
|
||||
/// </summary>
|
||||
[System.Serializable] public class UnityVector3Vector3GameObjectEvent : UnityEvent<Vector3, Vector3, GameObject> { }
|
||||
|
||||
/// <summary>
|
||||
/// (float, Vector3, Vector3, GameObject) UnityEvent subclass so the event will appear in the inspector.
|
||||
/// </summary>
|
||||
[System.Serializable] public class UnityFloatVector3Vector3GameObjectEvent : UnityEvent<float, Vector3, Vector3, GameObject> { }
|
||||
|
||||
/// <summary>
|
||||
/// (ViewType, bool) UnityEvent subclass so the event will appear in the inspector.
|
||||
/// </summary>
|
||||
[System.Serializable]
|
||||
public class UnityViewTypeBoolEvent : UnityEvent<ViewType, bool> { }
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 724ed49ad25abfc4da8b402fed0b67a4
|
||||
timeCreated: 1501028871
|
||||
licenseType: Pro
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Reference in New Issue
Block a user