Exemple #1
0
    public void DestroyObject(LiNGS.Common.GameLogic.INetworkedObject networkedObject, string name)
    {
        GameObject go = GameObject.Find(name);

        if (go != null)
        {
            Destroy(go);
        }
    }
Exemple #2
0
 public void DestroyObject(LiNGS.Common.GameLogic.INetworkedObject networkedObject, string name)
 {
     Destroy(GameObject.Find(name));
 }