Cant Take Control
Options
Mochi
✭
in Photon Bolt
I have a function like:
public override void SceneLoadLocalDone(string map, IProtocolToken token)
{
GameObject[] movers = GameObject.FindGameObjectsWithTag("Mover");
movers[0].GetComponent<BoltEntity>().TakeControl();
}
When I run my code I get an error stating that I cant access any Bolt specific methods on an Entity which is detached. Why is this? Note that when I dont TakeControl() then it appears that for the mover the SimulateController and Attached methods dont get called (which I want).
0