Hello everyone,
Since two days, i'm completely stuck on my problem. I have a mage that have to cast a spell. My code work on the "client/host" side but not on the "client only" side. And if a create a "server only" and connect to it as a "client only" the code doesn't work too on the "client only" side. Here's my code, i'm probably missing something...![Frown :( :(]()
Here is the code of "FireMageSpellController.cs" (NetworkBehaviour)
Cannot call function inside COMMAND function
Since two days, i'm completely stuck on my problem. I have a mage that have to cast a spell. My code work on the "client/host" side but not on the "client only" side. And if a create a "server only" and connect to it as a "client only" the code doesn't work too on the "client only" side. Here's my code, i'm probably missing something...

Here is the code of "FireMageSpellController.cs" (NetworkBehaviour)
Code (CSharp):
- {