Beispiel #1
0
 public void Start()
 {
     m_aim        = GetComponent <PlayerAim>();
     m_motor      = GetComponent <PlayerMotor>();
     m_motion     = GetComponent <MotionBuffer>();
     m_launchable = GetComponent <Launchable>();
 }
Beispiel #2
0
    public void Awake()
    {
        m_motion   = GetComponent <MotionBuffer>();
        m_animator = GetComponent <Animator>();
        m_aim      = GetComponent <PlayerAim>();

        m_animWalkingSpeed = Animator.StringToHash(ANIM_WALKING_SPEED);
    }
Beispiel #3
0
    public void Start()
    {
        QuickBoltPrefab.CreatePool(10);
        StunBoltPrefab.CreatePool(2);

        m_motor      = GetComponent <PlayerMotor>();
        m_motion     = GetComponent <MotionBuffer>();
        m_aim        = GetComponent <PlayerAim>();
        m_launchable = GetComponent <Launchable>();

        Debug.Log("BoltSkill Awoken");
    }
Beispiel #4
0
 public void Awake()
 {
     m_motion    = GetComponent <MotionBuffer>();
     m_particles = GetComponent <ParticleSystem>();
 }
 public void Awake()
 {
     m_motion = GetComponent <MotionBuffer>();
     m_agent  = GetComponent <NavMeshAgent>();
 }