Assets\Tanks\Scripts\Tank\TankState.cs(103,46): error CS0117: 'NetworkObject' does not contain a definition for 'FindObject'
Assets\Tanks\Scripts\Tank\TankState.cs(103,46): error CS0117: 'NetworkObject' does not contain a definition for 'FindObject'

------------------->SOURCE--------------------------------------------------------------------
[RRPC]
void OnDamage(int damage, int killerID)
{
if (dead)
return;


Health -= damage;
attaker = RasonManager.GetPlayer(killerID);


if (netObject.isMine)
{
if (damage > 10)
SendMessage("Shake", 4, SendMessageOptions.DontRequireReceiver);
else
SendMessage("Shake", 1, SendMessageOptions.DontRequireReceiver);
}


if (Health < 0)
Health = 0;
if (Health == 0) // Explode the Tank
{
dead = true;
if (netObject.isMine)
{
gm.onDielN.WaitFor = 4;
gm.onDieKiller.text = attaker.name;


TB_Manager.instance.deaths += 1;
TankState ts = NetworkObject.FindObject(killerID).GetComponent<TankState>();
if (ts)
ts.netObject.CallRpc("GetKill", killerID, true, RasonManager.Id, (byte)team);


netObject.Destroy();
}
Instantiate(explodedTank, transform.position, transform.rotation);
}
}
--------------------------------------------------------------------------------------------------------------------

How do I resolve the error?


I BUILT MY SITE FOR FREE USING