void OnTriggerEnter(Collider other) { if (other == _PlayerCollider) { _CharacterController.ChangeFloorMaterial(material); } }