Show / Hide Table of Contents

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
Object
Object
Component
Behaviour
MonoBehaviour
MobileUnit
DaggerfallMobileUnit
Inherited Members
MobileUnit.Summary
MobileUnit.summary
MobileUnit.SetEnemy(DaggerfallUnity, MobileEnemy, MobileReactions, Byte)
MobileUnit.ChangeEnemyState(MobileStates)
MobileUnit.IsPlayingOneShot()
MobileUnit.OneShotPauseActionsWhilePlaying()
MobileUnit.IsAttacking()
MobileUnit.SetSpecialTransformationCompleted()
Namespace: DaggerfallWorkshop
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
Type Description
Byte
Overrides
MobileUnit.ClassicSpawnDistanceType
| Improve this Doc View Source

CurrentFrame

Declaration
public int CurrentFrame { get; }
Property Value
Type Description
Int32
| Improve this Doc View Source

DoMeleeDamage

Declaration
public override bool DoMeleeDamage { get; set; }
Property Value
Type Description
Boolean
Overrides
MobileUnit.DoMeleeDamage
| Improve this Doc View Source

Enemy

Declaration
public override MobileEnemy Enemy { get; protected set; }
Property Value
Type Description
MobileEnemy
Overrides
MobileUnit.Enemy
| Improve this Doc View Source

EnemyState

Declaration
public override MobileStates EnemyState { get; protected set; }
Property Value
Type Description
MobileStates
Overrides
MobileUnit.EnemyState
| Improve this Doc View Source

FrameSpeedDivisor

Declaration
public override int FrameSpeedDivisor { get; set; }
Property Value
Type Description
Int32
Overrides
MobileUnit.FrameSpeedDivisor
| Improve this Doc View Source

FreezeAnims

Declaration
public override bool FreezeAnims { get; set; }
Property Value
Type Description
Boolean
Overrides
MobileUnit.FreezeAnims
| Improve this Doc View Source

IsBackFacing

Declaration
public override bool IsBackFacing { get; }
Property Value
Type Description
Boolean
Overrides
MobileUnit.IsBackFacing
| Improve this Doc View Source

IsSetup

Declaration
public override bool IsSetup { get; protected set; }
Property Value
Type Description
Boolean
Overrides
MobileUnit.IsSetup
| Improve this Doc View Source

ShootArrow

Declaration
public override bool ShootArrow { get; set; }
Property Value
Type Description
Boolean
Overrides
MobileUnit.ShootArrow
| Improve this Doc View Source

SpecialTransformationCompleted

Declaration
public override bool SpecialTransformationCompleted { get; protected set; }
Property Value
Type Description
Boolean
Overrides
MobileUnit.SpecialTransformationCompleted

Methods

| Improve this Doc View Source

ApplyEnemy(DaggerfallUnity)

Declaration
protected override void ApplyEnemy(DaggerfallUnity dfUnity)
Parameters
Type Name Description
DaggerfallUnity dfUnity
Overrides
MobileUnit.ApplyEnemy(DaggerfallUnity)
| Improve this Doc View Source

ApplyEnemyStateChange(MobileStates, MobileStates)

Declaration
protected override void ApplyEnemyStateChange(MobileStates currentState, MobileStates newState)
Parameters
Type Name Description
MobileStates currentState
MobileStates newState
Overrides
MobileUnit.ApplyEnemyStateChange(MobileStates, MobileStates)
| Improve this Doc View Source

GetSize()

Declaration
public override Vector3 GetSize()
Returns
Type Description
Vector3
Overrides
MobileUnit.GetSize()

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
Back to top Generated by DocFX