using System.Collections; using System.Collections.Generic; using UnityEngine; public class CanvasDispalyIdentifier : DisplayIdentifier { private Canvas canvas; private void Awake() { canvas = GetComponent(); } public override void SetId(int id) { canvas.targetDisplay = id; } }