File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
com.unity.netcode.gameobjects/TestHelpers/Runtime Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -869,12 +869,14 @@ public NetcodeIntegrationTest()
869869 /// Constructor that allows you To break tests up as a host
870870 /// and a server.
871871 /// Example: Decorate your child derived class with TestFixture
872- /// and then create a constructor at the child level
872+ /// and then create a constructor at the child level.
873+ /// Don't forget to set your constructor public, else Unity will
874+ /// give you a hard to decipher error
873875 /// [TestFixture(HostOrServer.Host)]
874876 /// [TestFixture(HostOrServer.Server)]
875877 /// public class MyChildClass : NetcodeIntegrationTest
876878 /// {
877- /// MyChildClass(HostOrServer hostOrServer) : base(hostOrServer) { }
879+ /// public MyChildClass(HostOrServer hostOrServer) : base(hostOrServer) { }
878880 /// }
879881 /// </summary>
880882 /// <param name="hostOrServer"></param>
You can’t perform that action at this time.
0 commit comments