Esempio n. 1
0
 /// <summary>
 /// Author: Denis
 /// Caching components
 /// </summary>
 private void Start()
 {
     PlayerPullDash    = gameObject.GetComponent <PullDash>();
     PlayerGroundPound = gameObject.GetComponent <GroundPound>();
     PlayerKnockback   = gameObject.GetComponent <Knockback>();
     PlayerMultiplayer = gameObject.GetComponent <MultiplayerActivator>();
 }
Esempio n. 2
0
 /// <summary>
 /// Author: Denis
 /// Caching components
 /// </summary>
 private void Start()
 {
     PlayerPullDash    = gameObject.GetComponent <PullDash>();
     PlayerJump        = gameObject.GetComponent <Jump>();
     PlayerCombat      = gameObject.GetComponent <PlayerCombatManager>();
     PlayerKnockback   = gameObject.GetComponent <Knockback>();
     PlayerMultiplayer = gameObject.GetComponent <MultiplayerActivator>();
 }
Esempio n. 3
0
 /// <summary>
 /// Author: Denis
 /// Caching components
 /// </summary>
 private void Start()
 {
     CombatManager     = gameObject.GetComponent <PlayerCombatManager>();
     PlayerJump        = gameObject.GetComponent <Jump>();
     PlayerRotation    = gameObject.GetComponent <Rotation>();
     PlayerMultiplayer = gameObject.GetComponent <MultiplayerActivator>();
     WasHit            = false;
     IsKnockback       = false;
     TookOff           = false;
     IsImmune          = false;
 }
Esempio n. 4
0
 /// <summary>
 /// Author: Denis
 /// Caching components
 /// </summary>
 private void Start()
 {
     PlayerMultiplayer = gameObject.GetComponent <MultiplayerActivator>();
     PlayerKnockback   = gameObject.GetComponent <Knockback>();
     PlayerJump        = gameObject.GetComponent <Jump>();
 }