using System.Collections; using System.Collections.Generic; using UnityEngine; public class highlight1 : MonoBehaviour { //protected HighlightableObject ho; void Awake() { // ho = gameObject.AddComponent(); } private void Start() { //ho.ConstantOn(Color.red); } private void OnEnable() { // ho.ConstantOn(Color.red); } }