Class Character2D
Inheritance
System.Object
Character2D
Assembly: cs.temp.dll.dll
Syntax
public class Character2D : MonoBehaviour
Fields
CanTurnAround
Declaration
public bool CanTurnAround
Field Value
| Type |
Description |
| System.Boolean |
|
CharacterType
Declaration
public Character2D.CharacterTypes CharacterType
Field Value
StartedFacingRight
Declaration
public bool StartedFacingRight
Field Value
| Type |
Description |
| System.Boolean |
|
Properties
CharacterState
Declaration
public CharacterState CharacterState { get; }
Property Value
Methods
OnInit()
Declaration
protected virtual void OnInit()
SetAnimationState(String, Single)
Declaration
public void SetAnimationState(string stateName, float animationFadeTime = 0.3F)
Parameters
| Type |
Name |
Description |
| System.String |
stateName |
|
| System.Single |
animationFadeTime |
|