Here’s the code
using UnityEngine;
using System.Collections;
public class NPCComponent : MonoBehaviour {
public NPCHealthHandler nph;
public NPCStats nps;
public NPCCollisionHandler npch;
// Use this for initialization
void Start () {
nph.GetComponent<NPCHealthHandler>();
nps.GetComponent<NPCStats>();
npch.GetComponent<NPCCollisionHandler>();
}
// Update is called once per frame
void Update () {
}
}
errors pulling on the line npch.GetComponent();