doc: Added DDOL note to NetworkBehaviour template

This commit is contained in:
MrGadget1024 2021-03-20 19:26:35 -04:00
parent 1f22066f9b
commit 95f55e652f

View File

@ -7,6 +7,8 @@ using System.Collections.Generic;
API Reference: https://mirror-networking.com/docs/api/Mirror.NetworkBehaviour.html API Reference: https://mirror-networking.com/docs/api/Mirror.NetworkBehaviour.html
*/ */
// NOTE: Do not put objects in DontDestroyOnLoad (DDOL) in Awake. You can do that in Start instead.
public class #SCRIPTNAME# : NetworkBehaviour public class #SCRIPTNAME# : NetworkBehaviour
{ {
#region Start & Stop Callbacks #region Start & Stop Callbacks