using UnityEngine;
using System.Collections;
public class example : MonoBehaviour {
public GameObject a;
public Transform b;
void OnMouseEnter(){
b=a;
}
Error is :
error CS0029: Cannot implicitly convert type UnityEngine.GameObject' to
UnityEngine.Transform’
what can i do?