I am compiling this code and Unity speaks like Yoda : “Not all code paths return a value…”
What I am trying to do is have FindTargets () return an array of transform…
using System;
using System.Collections;
using UnityEngine;
class Targetter
{
Transform[] FindTargets(string type , Vector3 position, float radius, bool findCloaked)
{
}
}