public static FollowPlayer Instance(Player player) { var key = player; FollowPlayer ret; if (!instances.TryGetValue(key, out ret)) ret = instances[key] = new FollowPlayer(); return ret; }
public static FollowPlayer Instance(Player player) { var key = player; FollowPlayer ret; if (!instances.TryGetValue(key, out ret)) { ret = instances[key] = new FollowPlayer(); } return(ret); }