Ejemplo n.º 1
0
        private void Awake()
        {
            abilities    = GetComponent <PlayerAbilities>();
            stateMan     = GetComponent <PlayerStateManager>();
            aimForcusSys = GetComponent <AimForcusSystem>();
            equipMan     = GetComponent <EquipmentManager>();

            ignoreMask = ~ignoreMask;
        }
Ejemplo n.º 2
0
 // Use this for initialization
 void Awake()
 {
     shootSys  = GetComponent <PlayerShootingSystem>();
     meleeSys  = GetComponent <PlayerMeleeSystem>();
     animator  = GetComponent <Animator>();
     aimIk     = GetComponent <AimIK>();
     stateMan  = GetComponent <PlayerStateManager>();
     aimer     = GetComponent <PlayerAimer>();
     forcusSys = GetComponent <AimForcusSystem>();
 }