private void Activate() { DisableCollider(); ShowTextMessage(); AddScore(); NotifyGoal(); PlayParticles(); PlayAudio(); Debug.Log((_gateController != null) + " : " + (gate != null)); if (_gateController && gate) { _gateController.Trigger(gate); } }
private void Activate() { DisableCollider(); ShowTextMessage(); AddScore(); NotifyGoal(); PlayParticles(); PlayAudio(); Debug.Log((_gateController != null) + " : " + (gate != null)); if (_gateController && gate) { _gateController.Trigger(gate); } }