Quantcast
Channel: Questions in topic: "external-libraries"
Viewing all articles
Browse latest Browse all 86

Can't inherit from namespace

$
0
0
I am attempting to implement networking in my game with the use of Mirror. However, Unity is preventing me from using the package I just imported. Unity is telling me "the type of namespace 'Mirror' could not be found (are you missing a using directive or an assembly reference)". This same is said for inheriting NetworkBehavior. Here is the code that I have implemented so far. using System.Collections; using System.Collections.Generic; using UnityEngine; using Mirror; public class Player : NetworkBehavior { [SerializeField] private Vector3 movement = new Vector3(); private void Update() { myFunc(); } }

Viewing all articles
Browse latest Browse all 86

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>