Ejemplo n.º 1
0
 void Start()
 {
     interactableLayerMask = ((1 << enemyLayer) | (1 << interactablesLayer));
     pUI       = GetComponent <AirTankController>();
     pCon      = GetComponent <PlayerController>();
     pFeedback = GetComponent <PlayerFeedback>();
     pAudio    = GetComponent <PlayerAudioController>();
     animator  = pCon.animator;
 }
Ejemplo n.º 2
0
    void Start()
    {
        pCon   = Toolbox.GetInstance().GetPlayerManager().GetPlayerController();
        airCon = Toolbox.GetInstance().GetPlayerManager().GetAirTankController();

        animator = GetComponentInChildren <Animator>();

        windTypeSymbol.enabled = false;
        windDial.SetActive(false);
        SetNodesBackToIdle();
    }
Ejemplo n.º 3
0
    // <<--------------------------------------------- SET UP AIR TANK CONTROLLER ------------------------------------------- >> //

    public void SetAirTankController(AirTankController _airTankCon)
    {
        airTankCon = _airTankCon;
    }