private void Awake() { flammableBehaviour = gameObject.GetComponentIfUnassigned(flammableBehaviour); npcSpawnerBehaviour = gameObject.GetComponentIfUnassigned(npcSpawnerBehaviour); }
private void Awake() { npcSpawnerBehaviour = GetComponent <NPCSpawnerBehaviour>(); }