- Home /
 
               Question by 
               Alanimator · Jan 03, 2014 at 08:36 PM · 
                c#networkingnetworktime  
              
 
              remove spawned object from my networkView when timeScale = 0
In my game my space ship spawns rockets . then these rockets hit and destroy an enemy player timeScale = 0;
when timeScale = 0 my rockets also "pause" because they are still associated with my networkView.
how can i get the rockets to not be associated with my networkView.
 using UnityEngine;
 using System.Collections;
 
 public class CheckAndRemoveFromNetworkView : MonoBehaviour {
     
     void Update () {
     if (Time.timeScale == 0)
         {
 // remove rocket so that it continues to move while you are "paused"
         }
     }
 }
               Comment
              
 
               
              Your answer
 
 
              koobas.hobune.stream
koobas.hobune.stream 
                       
                
                       
			     
			 
                