Class PlayerBehaviourBase
Base for all player behaviour component
Inheritance
Object
Component
Behaviour
MonoBehaviour
PlayerBehaviourBase
Inherited Members
MonoBehaviour.IsInvoking()
MonoBehaviour.CancelInvoke()
MonoBehaviour.StopCoroutine(Coroutine)
MonoBehaviour.StopAllCoroutines()
MonoBehaviour.useGUILayout
MonoBehaviour.runInEditMode
Behaviour.enabled
Behaviour.isActiveAndEnabled
Component.GetComponent<T>()
Component.TryGetComponent<T>(out T)
Component.GetComponentInChildren<T>()
Component.GetComponentsInChildren<T>()
Component.GetComponentInParent<T>()
Component.GetComponentsInParent<T>()
Component.GetComponents<T>()
Component.transform
Component.gameObject
Component.tag
Object.GetInstanceID()
Object.GetHashCode()
Object.Instantiate(Object, Vector3, Quaternion)
Object.Instantiate(Object, Vector3, Quaternion, Transform)
Object.Instantiate(Object)
Object.Instantiate(Object, Transform)
Object.Instantiate<T>(T)
Object.Instantiate<T>(T, Vector3, Quaternion)
Object.Instantiate<T>(T, Vector3, Quaternion, Transform)
Object.Instantiate<T>(T, Transform)
Object.Destroy(Object)
Object.DestroyImmediate(Object)
Object.DontDestroyOnLoad(Object)
Object.DestroyObject(Object)
Object.FindObjectsOfType<T>()
Object.FindObjectsByType<T>(FindObjectsSortMode)
Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
Object.FindObjectOfType<T>()
Object.FindFirstObjectByType<T>()
Object.FindAnyObjectByType<T>()
Object.FindFirstObjectByType<T>(FindObjectsInactive)
Object.FindAnyObjectByType<T>(FindObjectsInactive)
Object.ToString()
Object.name
Object.hideFlags
Namespace: BomberDogs.PlayerBehaviours
Assembly: Assembly-CSharp.dll
Syntax
public abstract class PlayerBehaviourBase : MonoBehaviour
Fields
| Edit this page View Sourcecore
Declaration
protected IPlayerBehaviourCore core
Field Value
| Type | Description |
|---|---|
| IPlayerBehaviourCore |
Properties
| Edit this page View Source_collider
Declaration
protected CircleCollider2D _collider { get; }
Property Value
| Type | Description |
|---|---|
| CircleCollider2D |
animator
Declaration
protected Animator animator { get; }
Property Value
| Type | Description |
|---|---|
| Animator |
disableControls
Declaration
public bool disableControls { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
input
Declaration
[Tooltip("Input for the character to be controlled. If you are using LevelManager this value will be replaced by the input in LevelManager;")]
protected PlayerInputBase input { get; }
Property Value
| Type | Description |
|---|---|
| PlayerInputBase |
powerUps
Declaration
protected List<EPowerUp> powerUps { get; }
Property Value
| Type | Description |
|---|---|
| List<EPowerUp> |
rb
Declaration
protected Rigidbody2D rb { get; }
Property Value
| Type | Description |
|---|---|
| Rigidbody2D |
spriteRenderer
Declaration
protected SpriteRenderer spriteRenderer { get; }
Property Value
| Type | Description |
|---|---|
| SpriteRenderer |
Methods
| Edit this page View SourceAwake()
Declaration
public void Awake()
CrossFade(string, float)
Crossfade animator animation
Declaration
protected void CrossFade(string stateName, float normalizedTime)
Parameters
| Type | Name | Description |
|---|---|---|
| string | stateName | |
| float | normalizedTime |