I have a method that I wish to invoke at a specific time from a different class. Is it possible to use the invoke function to call a method from a different class?
public class A {
public void methodA()
{
//Do Something
}
}
public class B {
public void methodB()
{
//Do Something
Invoke("MethodFromClassA", time);
}
}
Is it possible? If so, how?