Organize custom scripts under Assets/Baba_yaga and merge Opsive folders to Assets root
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
/// ---------------------------------------------
|
||||
/// Ultimate Character Controller
|
||||
/// Copyright (c) Opsive. All Rights Reserved.
|
||||
/// https://www.opsive.com
|
||||
/// ---------------------------------------------
|
||||
|
||||
namespace Opsive.UltimateCharacterController.Items.Actions.PerspectiveProperties
|
||||
{
|
||||
using UnityEngine;
|
||||
|
||||
/// <summary>
|
||||
/// Interface for an object which contains the perspective dependent variables for a ShootableWeapon.
|
||||
/// </summary>
|
||||
public interface IShootableWeaponPerspectiveProperties
|
||||
{
|
||||
Transform FirePointLocation { get; set; }
|
||||
Transform MuzzleFlashLocation { get; set; }
|
||||
Transform ShellLocation { get; set; }
|
||||
Transform SmokeLocation { get; set; }
|
||||
Transform TracerLocation { get; set; }
|
||||
Transform ReloadableClip { get; set; }
|
||||
Transform ReloadableClipAttachment { get; set; }
|
||||
Transform ReloadProjectileAttachment { get; set; }
|
||||
GameObject ScopeCamera { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Can the weapon be fired?
|
||||
/// </summary>
|
||||
/// <param name="fireInLookSourceDirection">Should the weapon fire in the LookSource direction?</param>
|
||||
/// <param name="abilityActive">Is the Use ability active?</param>
|
||||
/// <returns>True if the item can be fired.</returns>
|
||||
bool CanFire(bool abilityActive, bool fireInLookSourceDirection);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user