Show / Hide Table of Contents

Class FPSSpellCasting

Renders first-person spellcasting animations for player. Spellcasting animations have different texture and layout requirements to weapons and are never mixed with weapons directly on screen at same time. Opted to create a new class to play these animations and separate from FPSWeapon.

Inheritance
Object
Object
Component
Behaviour
MonoBehaviour
FPSSpellCasting
Namespace: DaggerfallWorkshop.Game
Assembly: Assembly-CSharp.dll
Syntax
public class FPSSpellCasting : MonoBehaviour

Properties

| Improve this Doc View Source

IsPlayingAnim

Declaration
public bool IsPlayingAnim { get; }
Property Value
Type Description
Boolean

Methods

| Improve this Doc View Source

PlayOneShot(ElementTypes)

Play casting animation once only.

Declaration
public void PlayOneShot(ElementTypes elementType)
Parameters
Type Name Description
ElementTypes elementType
| Improve this Doc View Source

RaiseOnReleaseFrameEvent()

Declaration
protected virtual void RaiseOnReleaseFrameEvent()

Events

| Improve this Doc View Source

OnReleaseFrame

Declaration
public event FPSSpellCasting.OnReleaseFrameEventHandler OnReleaseFrame
Event Type
Type Description
FPSSpellCasting.OnReleaseFrameEventHandler

Extension Methods

MBExtensions.Invoke(MonoBehaviour, Action, Single)
MBExtensions.Invoke<T>(MonoBehaviour, Action<T>, T, Single)
MBExtensions.Invoke<T1, T2>(MonoBehaviour, Action<T1, T2>, T1, T2, Single)
MBExtensions.Invoke<T1, T2, T3>(MonoBehaviour, Action<T1, T2, T3>, T1, T2, T3, Single)
MBExtensions.Invoke<T1, T2, T3, T4>(MonoBehaviour, Action<T1, T2, T3, T4>, T1, T2, T3, T4, Single)
  • Improve this Doc
  • View Source
In This Article
  • Properties
    • IsPlayingAnim
  • Methods
    • PlayOneShot(ElementTypes)
    • RaiseOnReleaseFrameEvent()
  • Events
    • OnReleaseFrame
  • Extension Methods
Back to top Generated by DocFX