mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 11:00:32 +00:00
Use nameof expression (#468)
This commit is contained in:
parent
0114a36fe1
commit
ffda610f0d
@ -1,4 +1,4 @@
|
||||
using System.Collections;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
using Mirror;
|
||||
@ -18,7 +18,7 @@ public class Player : NetworkBehaviour
|
||||
public override void OnStartServer()
|
||||
{
|
||||
base.OnStartServer();
|
||||
InvokeRepeating("UpdateData", 1, 1);
|
||||
InvokeRepeating(nameof(UpdateData), 1, 1);
|
||||
}
|
||||
|
||||
public void UpdateData()
|
||||
|
Loading…
Reference in New Issue
Block a user