// Use this for initialization void Start() { ihm = new IhmCommunicator(); generalParams = new GeneralParameters(); generalParams = GetComponent <GeneralParameters>(); difficulty = GetComponent <GeneralParameters>().Difficulty; zoom = GetComponent <GeneralParameters>().Zoom; score = 0; }
void Awake() { ihmCommunicator = FindObjectOfType <IhmCommunicator>(); }