Can I use two objects in my project with Mathf.PingPong script attached to both

Can I use two objects in my project with Mathf.PingPong script attached to both

Mathf.PingPong is a static method (function), not a script. It cannot be attached to anything. It can be called (evaluated).