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
FPSSpellCasting
Assembly: Assembly-CSharp.dll
Syntax
public class FPSSpellCasting : MonoBehaviour
Properties
|
Improve this Doc
View Source
IsPlayingAnim
Declaration
public bool IsPlayingAnim { get; }
Property Value
Methods
|
Improve this Doc
View Source
PlayOneShot(ElementTypes)
Play casting animation once only.
Declaration
public void PlayOneShot(ElementTypes elementType)
Parameters
|
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
Extension Methods
MBExtensions.Invoke<T1, T2, T3, T4>(MonoBehaviour, Action<T1, T2, T3, T4>, T1, T2, T3, T4, Single)