/// <summary> /// Creates a NetworkVariable with a custom value and custom settings /// </summary> /// <param name="settings">The settings to use for the NetworkVariable</param> /// <param name="value">The initial value to use for the NetworkVariable</param> public NetworkVariable(NetworkVariableSettings settings, T value) { Settings = settings; m_InternalValue = value; }
/// <summary> /// Creates a NetworkVariable with the default value and custom settings /// </summary> /// <param name="settings">The settings to use for the NetworkVariable</param> public NetworkVariable(NetworkVariableSettings settings) { Settings = settings; }