void Awake() { cellOcc = CellOcc.NONE; animator = GetComponent <Animator>(); audioSource = GetComponent <AudioSource>(); audioSource.volume = PreferencesScript.Instance.GetSoundVolume(); }
// Updates attributes in cell template public void UpdateAttributes(CellTemplate cellTemplate) { cellType = cellTemplate.cellOcc; }