Trunks and Silver share some surface similarities, such as time travel and origins from dystopian futures, but they are ultimately very different characters.
Trunks is a Saiyan from Dragon Ball who fights with swords and ki, while Silver is a hedgehog from Sonic the Hedgehog with telekinetic powers. Their personalities, motivations, and universes are distinct.