extension for object

i created an extension for Object so i can use it freely.I did this

public static class extension {

// Use this for initialization
public static void test(this Object ob)
{
	Debug.Log("it is done", ob);
}

after that when i want to call it it don’t work

void Start() {
camera_main = Camera.main;
Object.test();

}

so if extension doesn’t work for object or i did wrong.

It’ looks like you are trying to call test() as a static method ( Object.test()).

Does it work if you call it on an instance? You could call it on the instance you are implementing the Start() method. E.g.:

void Start() {
    camera_main = Camera.main; 
    this.test();
}