Organize custom scripts under Assets/Baba_yaga and merge Opsive folders to Assets root

This commit is contained in:
2026-07-01 20:32:28 +07:00
parent 83d4157ac6
commit befc19bf37
5901 changed files with 243 additions and 141 deletions

View File

@@ -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);
}
}