mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 19:10:32 +00:00
tanks example namespaces updated
This commit is contained in:
parent
c5b4211ac7
commit
227b0a71d1
@ -1,6 +1,7 @@
|
|||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
using Mirror;
|
|
||||||
|
|
||||||
|
namespace Mirror.Examples.Tanks
|
||||||
|
{
|
||||||
public class Projectile : NetworkBehaviour
|
public class Projectile : NetworkBehaviour
|
||||||
{
|
{
|
||||||
public float destroyAfter = 5;
|
public float destroyAfter = 5;
|
||||||
@ -34,3 +35,4 @@ void OnTriggerEnter(Collider co)
|
|||||||
NetworkServer.Destroy(gameObject);
|
NetworkServer.Destroy(gameObject);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
using UnityEngine.AI;
|
using UnityEngine.AI;
|
||||||
|
|
||||||
namespace Mirror.Examples.Movement
|
namespace Mirror.Examples.Tanks
|
||||||
{
|
{
|
||||||
public class Tank : NetworkBehaviour
|
public class Tank : NetworkBehaviour
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user