Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,15 @@ public void NetworkSerialize(NetworkSerializer serializer)
public class NetworkVariableTest : NetworkBehaviour
{
public readonly NetworkList<int> TheList = new NetworkList<int>(
new NetworkVariableSettings {WritePermission = NetworkVariablePermission.ServerOnly}
new NetworkVariableSettings { WritePermission = NetworkVariablePermission.ServerOnly }
);

public readonly NetworkSet<int> TheSet = new NetworkSet<int>(
new NetworkVariableSettings {WritePermission = NetworkVariablePermission.ServerOnly}
new NetworkVariableSettings { WritePermission = NetworkVariablePermission.ServerOnly }
);

public readonly NetworkDictionary<int, int> TheDictionary = new NetworkDictionary<int, int>(
new NetworkVariableSettings {WritePermission = NetworkVariablePermission.ServerOnly}
new NetworkVariableSettings { WritePermission = NetworkVariablePermission.ServerOnly }
);

private void ListChanged(NetworkListEvent<int> e)
Expand Down Expand Up @@ -425,7 +425,7 @@ public IEnumerator TestNetworkVariableStruct()
() =>
{
m_ServerComp.TheStruct.Value =
new TestStruct() {SomeInt = k_TestUInt, SomeBool = false};
new TestStruct() { SomeInt = k_TestUInt, SomeBool = false };
m_ServerComp.TheStruct.SetDirty(true);
},
() =>
Expand Down
2 changes: 1 addition & 1 deletion standards.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

parser.add_argument("--tool-path", default="dotnet-format")
parser.add_argument("--project-path", default="testproject")
parser.add_argument("--project-glob", default="*.csproj")
parser.add_argument("--project-glob", default="*.sln")

if len(sys.argv) == 1:
parser.print_help(sys.stderr)
Expand Down