Exemple #1
0
    private void OnEnable()
    {
        PB = FindObjectOfType <OE_PlayerBehaviour>();

        currentState = State.Active;
        SetState(currentState);

        StartCoroutine(StateSwitcher());
    }
 private void OnEnable()
 {
     PB = FindObjectOfType <OE_PlayerBehaviour>();
 }