Class DaggerfallMobileUnit
A billboard class for classic Daggerfall mobile sprites with 8 orientations.
Handles loading resources and rendering billboard based on orientation and state.
Will rotate and scale based on camera angle and texture, so this component should
only be attached to a child GameObject.
Uses parent GameObject to determine actual facing in world.
Inheritance
DaggerfallMobileUnit
Assembly: Assembly-CSharp.dll
Syntax
[RequireComponent(typeof(MeshFilter))]
[RequireComponent(typeof(MeshRenderer))]
public class DaggerfallMobileUnit : MobileUnit
Properties
|
Improve this Doc
View Source
ClassicSpawnDistanceType
Declaration
public override byte ClassicSpawnDistanceType { get; protected set; }
Property Value
Overrides
|
Improve this Doc
View Source
CurrentFrame
Declaration
public int CurrentFrame { get; }
Property Value
|
Improve this Doc
View Source
DoMeleeDamage
Declaration
public override bool DoMeleeDamage { get; set; }
Property Value
Overrides
|
Improve this Doc
View Source
Enemy
Declaration
public override MobileEnemy Enemy { get; protected set; }
Property Value
Overrides
|
Improve this Doc
View Source
EnemyState
Declaration
public override MobileStates EnemyState { get; protected set; }
Property Value
Overrides
|
Improve this Doc
View Source
FrameSpeedDivisor
Declaration
public override int FrameSpeedDivisor { get; set; }
Property Value
Overrides
|
Improve this Doc
View Source
FreezeAnims
Declaration
public override bool FreezeAnims { get; set; }
Property Value
Overrides
|
Improve this Doc
View Source
IsBackFacing
Declaration
public override bool IsBackFacing { get; }
Property Value
Overrides
|
Improve this Doc
View Source
IsSetup
Declaration
public override bool IsSetup { get; protected set; }
Property Value
Overrides
|
Improve this Doc
View Source
ShootArrow
Declaration
public override bool ShootArrow { get; set; }
Property Value
Overrides
|
Improve this Doc
View Source
Declaration
public override bool SpecialTransformationCompleted { get; protected set; }
Property Value
Overrides
Methods
|
Improve this Doc
View Source
ApplyEnemy(DaggerfallUnity)
Declaration
protected override void ApplyEnemy(DaggerfallUnity dfUnity)
Parameters
Overrides
|
Improve this Doc
View Source
ApplyEnemyStateChange(MobileStates, MobileStates)
Declaration
protected override void ApplyEnemyStateChange(MobileStates currentState, MobileStates newState)
Parameters
Overrides
|
Improve this Doc
View Source
GetSize()
Declaration
public override Vector3 GetSize()
Returns
Overrides
Extension Methods
MBExtensions.Invoke<T1, T2, T3, T4>(MonoBehaviour, Action<T1, T2, T3, T4>, T1, T2, T3, T4, Single)