Hello, i'm trying to make a multiplayer tank game. By now, i managed to sync the bullets, movement, spawning and death scripts for host player and the guest players, but i cannot manage to sync the explosions for both players.. I attempted to use the syncvar function, but nothing.. please help.
Sync explosions
Code (CSharp):
- using UnityEngine;
- using System.Collections;
- using UnityEngine.Networking;
- public class Rocket : NetworkBehaviour
- {
- //[SyncVar(hook = "particuleexplozie")]
- public...