I have two scene: A and B, B is loaded after A
there is a script bind with object in scene B:
public class ScriptInSceneB : MonoBehavior
{
public GameObject bindingObjA;
public GameObject bindingObjB;
public void func1()
{
// do sth with bindingObjA;
}
public void func2()
{
// do sth with bindingObjB;
}
}
How can i call func1() and func2() in scene A ?