Click or drag to resize

SpriteManager Class

A sprite manager controls all aspects of animating a multi-directional 2D sprite character in 3D environments.
Inheritance Hierarchy
SystemObject
  Object
    Component
      Behaviour
        MonoBehaviour
          SpriteMan3DSpriteManager

Namespace:  SpriteMan3D
Assembly:  SpriteMan3D (in SpriteMan3D.dll) Version: 1.1.0.0 (1.1.0.0)
Syntax
public class SpriteManager : MonoBehaviour, 
	ISpriteManagerState

The SpriteManager type exposes the following members.

Constructors
  NameDescription
Public methodSpriteManager
Initializes a new instance of the SpriteManager class
Top
Properties
  NameDescription
Public propertyanimation Obsolete. (Inherited from Component.)
Public propertyaudio Obsolete. (Inherited from Component.)
Public propertyBillboard
ISpriteManagerState.Billboard property.
Public propertycamera Obsolete. (Inherited from Component.)
Public propertycollider Obsolete. (Inherited from Component.)
Public propertycollider2D Obsolete. (Inherited from Component.)
Public propertyconstantForce Obsolete. (Inherited from Component.)
Public propertyDirectionMode
ISpriteManagerState.DirectionMode property.
Public propertyenabled (Inherited from Behaviour.)
Public propertygameObject (Inherited from Component.)
Public propertyguiElement Obsolete. (Inherited from Component.)
Public propertyguiText Obsolete. (Inherited from Component.)
Public propertyguiTexture Obsolete. (Inherited from Component.)
Public propertyhideFlags (Inherited from Object.)
Public propertyhingeJoint Obsolete. (Inherited from Component.)
Public propertyisActiveAndEnabled (Inherited from Behaviour.)
Public propertylight Obsolete. (Inherited from Component.)
Public propertyname (Inherited from Object.)
Public propertynetworkView Obsolete. (Inherited from Component.)
Public propertyparticleEmitter Obsolete. (Inherited from Component.)
Public propertyparticleSystem Obsolete. (Inherited from Component.)
Public propertyReflectEastToWest
ISpriteManagerState.ReflectEastToWest property.
Public propertyrenderer Obsolete. (Inherited from Component.)
Public propertyrigidbody Obsolete. (Inherited from Component.)
Public propertyrigidbody2D Obsolete. (Inherited from Component.)
Public propertyrunInEditMode (Inherited from MonoBehaviour.)
Public propertyStateMapping
ISpriteManagerState.StateMapping property.
Public propertytag (Inherited from Component.)
Public propertytransform (Inherited from Component.)
Public propertyuseGUILayout (Inherited from MonoBehaviour.)
Top
Methods
  NameDescription
Public methodBroadcastMessage(String) (Inherited from Component.)
Public methodBroadcastMessage(String, Object) (Inherited from Component.)
Public methodBroadcastMessage(String, SendMessageOptions) (Inherited from Component.)
Public methodBroadcastMessage(String, Object, SendMessageOptions) (Inherited from Component.)
Public methodCancelInvoke (Inherited from MonoBehaviour.)
Public methodCancelInvoke(String) (Inherited from MonoBehaviour.)
Public methodCompareTag (Inherited from Component.)
Public methodEquals (Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetComponent(Type) (Inherited from Component.)
Public methodGetComponent(String) (Inherited from Component.)
Public methodGetComponent``1 (Inherited from Component.)
Public methodGetComponentInChildren(Type) (Inherited from Component.)
Public methodGetComponentInChildren(Type, Boolean) (Inherited from Component.)
Public methodGetComponentInChildren``1 (Inherited from Component.)
Public methodGetComponentInChildren``1(Boolean) (Inherited from Component.)
Public methodGetComponentInParent(Type) (Inherited from Component.)
Public methodGetComponentInParent``1 (Inherited from Component.)
Public methodGetComponents(Type) (Inherited from Component.)
Public methodGetComponents(Type, ListComponent) (Inherited from Component.)
Public methodGetComponents``1 (Inherited from Component.)
Public methodGetComponents``1(ListUMP) (Inherited from Component.)
Public methodGetComponentsInChildren(Type) (Inherited from Component.)
Public methodGetComponentsInChildren(Type, Boolean) (Inherited from Component.)
Public methodGetComponentsInChildren``1 (Inherited from Component.)
Public methodGetComponentsInChildren``1(Boolean) (Inherited from Component.)
Public methodGetComponentsInChildren``1(ListUMP) (Inherited from Component.)
Public methodGetComponentsInChildren``1(Boolean, ListUMP) (Inherited from Component.)
Public methodGetComponentsInParent(Type) (Inherited from Component.)
Public methodGetComponentsInParent(Type, Boolean) (Inherited from Component.)
Public methodGetComponentsInParent``1 (Inherited from Component.)
Public methodGetComponentsInParent``1(Boolean) (Inherited from Component.)
Public methodGetComponentsInParent``1(Boolean, ListUMP) (Inherited from Component.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetInstanceID (Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInvoke (Inherited from MonoBehaviour.)
Public methodInvokeRepeating (Inherited from MonoBehaviour.)
Public methodIsInvoking (Inherited from MonoBehaviour.)
Public methodIsInvoking(String) (Inherited from MonoBehaviour.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodSendMessage(String) (Inherited from Component.)
Public methodSendMessage(String, Object) (Inherited from Component.)
Public methodSendMessage(String, SendMessageOptions) (Inherited from Component.)
Public methodSendMessage(String, Object, SendMessageOptions) (Inherited from Component.)
Public methodSendMessageUpwards(String) (Inherited from Component.)
Public methodSendMessageUpwards(String, Object) (Inherited from Component.)
Public methodSendMessageUpwards(String, SendMessageOptions) (Inherited from Component.)
Public methodSendMessageUpwards(String, Object, SendMessageOptions) (Inherited from Component.)
Public methodStartCoroutine(IEnumerator) (Inherited from MonoBehaviour.)
Public methodStartCoroutine(String) (Inherited from MonoBehaviour.)
Public methodStartCoroutine(String, Object) (Inherited from MonoBehaviour.)
Public methodStartCoroutine_Auto Obsolete. (Inherited from MonoBehaviour.)
Public methodStopAllCoroutines (Inherited from MonoBehaviour.)
Public methodStopCoroutine(String) (Inherited from MonoBehaviour.)
Public methodStopCoroutine(IEnumerator) (Inherited from MonoBehaviour.)
Public methodStopCoroutine(Coroutine) (Inherited from MonoBehaviour.)
Public methodToString (Inherited from Object.)
Top
Fields
  NameDescription
Public fieldbillboard
Allows disabling billboarding in case this is a child of a billboarded sprite manager.
Public fielddirectionMode
The direction mode of this sprite manager.
Public fieldreflectEastToWest
This will reflect east sprites to west sprites. Using this is great for reducing the amount of sprites a sprite atlas needs.
Public fieldrootManager
The SpriteManager to follow. For multi-layer characters, this lets an Animator animate only root managers. This manager will inherit info from its root.
Public fieldstateMapping
Contains the character's states and sprites to use for animations.
Top
Extension Methods
  NameDescription
Public Extension MethodCopyFrom
Copies from a source ISpriteManagerState to a target ISpriteManagerState.
(Defined by SpriteManagerStateExtensions.)
Public Extension MethodReplaceSprites
Replaces sprites in a given state with those in a sprite array matched by name or null if not found.
(Defined by SpriteManagerStateExtensions.)
Top
See Also