method returning arrays of transforms - how to ?

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)

    {



    }

}

Please post the code for the FindTargets() method, instead of leaving it blank.

problem solved, thanks. Also I use classes now to pass parameters. works like a charm and quite powerful.