static void userComponent(Pool pool, UserComponent component) { var e = pool.userEntity; var name = pool.user.name; var has = pool.hasUser; pool.SetUser("John", 42); pool.SetUser(component); pool.ReplaceUser("Max", 24); pool.RemoveUser(); }