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.